[Framework-Team] Re: Can I merge plone.memoize and plone.app.layout?
florian.schulze at gmx.net
Mon Dec 4 15:26:10 UTC 2006
On Sun, 03 Dec 2006 14:01:50 +0100, Martin Aspeli
<optilude at gmx.net> wrote:
> Hi guys,
> Following discussions with Whit, Alec and Rocky on the channel last
> night, and from the lists before, I've created and checked in two
> - plone.memoize: contains Whit's memojito memoization decorators (in
> plone.memoize.instance), and a variant of it that memoizes values in the
> request for views (plone.memoize.view).
> - plone.app.layout: contains a view viewlet manager definitions
> (plone.app.layout.viewlets) and a set of views that contain several of
> the values from global_defines, but cleaned up
> (plone.app.layout.globals). These are memoized using the view
> memoization in plone.memoize.
> Is this OK?
I did no benchmarks yet, but it feels quite a bit faster now. Did anyone
do some before after comparisons?
More information about the Framework-Team