diff options
author | Michael Hamann <michael@content-space.de> | 2012-12-04 16:13:46 +0100 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2012-12-04 16:13:46 +0100 |
commit | 3d2ce006bd7cffab5cda27f01787d2fd66ab630e (patch) | |
tree | d8ab1ef5e7b94642f48a71e4e9e6cc5bfc40969d /inc/parserutils.php | |
parent | 0572700e3546546abe8375a0fff7245673f2b02a (diff) | |
download | rpg-3d2ce006bd7cffab5cda27f01787d2fd66ab630e.tar.gz rpg-3d2ce006bd7cffab5cda27f01787d2fd66ab630e.tar.bz2 |
Indexer: Add cache for getPID()
This avoids re-reading of the page index file for every getPID()-call by
using a simple FIFO cache, limited to 10 items. In idx_addPage() and the
functions that it calls getPID() is called 3 times for the same PID.
Diffstat (limited to 'inc/parserutils.php')
0 files changed, 0 insertions, 0 deletions