]> git.mjollnir.org Git - moodle.git/commit
dmllib: introducing the rcache_* functions for record cache handling
authormartinlanghoff <martinlanghoff>
Wed, 27 Dec 2006 22:39:32 +0000 (22:39 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 27 Dec 2006 22:39:32 +0000 (22:39 +0000)
commit6c2f585f85c9ea6fd0757bff1cc6c939ba9de7a0
tree083ba57f3ff41da6b1613ec5220a0592b98ce069
parentadb61bc20312043f1ea370b3acb4a96a9059c8d4
dmllib: introducing the rcache_* functions for record cache handling

Abstracted Sam's initial work with $record_cache into a series of functions
that abstract things _just enough_ that we can use an internal
in-memory-array implementation or something that is shared across
processes, like memcached or the turckmmcache/eaccelerator caches.

Also
- added hit/miss stats tracking and reporting
- removed max entries limiting as it was buggy - var names mismatches
  and not counting unset()s
lib/dmllib.php
lib/moodlelib.php