summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2012-12-04 16:13:46 +0100
committerMichael Hamann <michael@content-space.de>2012-12-04 16:13:46 +0100
commit3d2ce006bd7cffab5cda27f01787d2fd66ab630e (patch)
treed8ab1ef5e7b94642f48a71e4e9e6cc5bfc40969d /bin
parent0572700e3546546abe8375a0fff7245673f2b02a (diff)
downloadrpg-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 'bin')
0 files changed, 0 insertions, 0 deletions