Hi,

2009/8/8 Joe Atzberger <[email protected]>:
> Yes, though this convention is established already in the module with
> $marc_structure_cache.  You could convert both to Memoize.

If you're looking for conventions, Memoize is already used in
C4::Koha, so let's run with that.  Hand-writing memoization should be
necessary only when there's a significant performance benefit to
pre-computing and caching the function's entire range in one fell
swoop rather than letting Memoize build up its cache as the function
gets called.

Regards,

Galen
-- 
Galen Charlton
[email protected]
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to