@@ -, +, @@ for L1 cache deep-copying mode master 146.29 (14.64+14.53+14.51+14.57+14.72+14.56+14.53+15.06+14.56+14.61) master + Bug 16221 96.5 (9.77+9.63+9.77+9.77+9.68+9.05+9.68+9.83+9.63+9.69) master + Bug 16166 90.7 (9.15+9.10+9.16+8.41+9.19+9.19+9.11+9.19+9.02+9.18) --- Koha/Cache.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Koha/Cache.pm +++ a/Koha/Cache.pm @@ -38,7 +38,7 @@ The first, traditional OO interface provides the following functions: use strict; use warnings; use Carp; -use Clone qw( clone ); +use Storable qw(dclone); use Module::Load::Conditional qw(can_load); use Koha::Cache::Object; @@ -342,7 +342,7 @@ sub get_from_cache { # Or if we do not need to deep copy return $L1_cache{$key} if not ref $L1_cache{$key} or $unsafe; - return clone $L1_cache{$key}; + return dclone $L1_cache{$key}; } my $get_sub = $self->{ref($self->{$cache}) . "_get"}; --