[Koha-bugs] [Bug 16166] Improve L1 cache performance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 31 12:27:59 CEST 2016


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

--- Comment #4 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Jonathan Druart from comment #3)
> Jacek, this patch makes a couple of t/Cache.t tests fail.

Tests #34 & #37? It's not a bug, it's a feature ;). In this implementation,
direct data references returned by get_from_cache(..., { unsafe => 1 }) are
shared only between other (..., { unsafe => 1 }) calls. If you call
get_from_cache() in safe mode, never mind how many unsafe calls were done
before, and what happened to that poor data structure in the meantime, you will
always get a fresh clone of the original thing.

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


More information about the Koha-bugs mailing list