MDL-53208 caching: Update serialization rules for performance.
- We only now serialize when required, eg when the store doesn't do it. - static acceleration now serializes on set to reduce overhead on load. - null now works in static acceleration as we use an array for storage metadata - static acceleration delete uses isset rather than an array_search.
This commit is contained in:
Vendored
+1
-1
@@ -127,7 +127,7 @@ abstract class cache_store implements cache_store_interface {
|
||||
const IS_SEARCHABLE = 8;
|
||||
|
||||
/**
|
||||
* The cache store dereferences objects.@global
|
||||
* The cache store dereferences objects.
|
||||
*
|
||||
* When set, loaders will assume that all data coming from this store has already had all references
|
||||
* resolved. So even for complex object structures it will not try to remove references again.
|
||||
|
||||
Reference in New Issue
Block a user