Skip to content
Snippets Groups Projects
Commit 3d2ce006 authored by Michael Hamann's avatar Michael Hamann
Browse files

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.
parent 0572700e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment