summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Hamann <michael@content-space.de>2010-11-15 22:16:33 +0100
committerMichael Hamann <michael@content-space.de>2010-11-15 22:16:33 +0100
commite5e503830f067ce7305e22eac58c78c2f4a007d2 (patch)
treeb1e81fba535e7591d6ec6d0de778e1c4dd078d99 /lib
parent037b55733d384c194f7554c832f95a5e566c5884 (diff)
downloadrpg-e5e503830f067ce7305e22eac58c78c2f4a007d2.tar.gz
rpg-e5e503830f067ce7305e22eac58c78c2f4a007d2.tar.bz2
Indexer improvement: Only write the words index when needed
This adds a simple boolean variable that tracks if new words have been added. When editing a page in many cases all words have already been used somewhere else or just one or two words are new. Until this change all words indexes read were always written, now only the changed ones are written. The overhead of the new boolean variable should be low.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions