[Koha-bugs] [Bug 16044] Define a L1 cache for all objects set in cache

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 18 22:06:33 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16044

--- Comment #25 from Jesse Weaver <jweaver at bywatersolutions.com> ---
I think that trying to protect cache users from themselves for complex
structures is going to come at too high a cost of complexity or performance,
based on the discussions we've been having so far... Auditing use of functions
that call APIs that return large cached structures to either add clone()s as
necessary or remove mutation will be more work but likely more benefit in the
long run.

We could look at using Hash::Util::lock_hash.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list