]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
Fixed unncessary tight loop hash copy in saveindex where a pointer can be used instea...
authorJoey Hess <joey@kitenet.net>
Sat, 16 Nov 2013 16:28:01 +0000 (12:28 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 16 Nov 2013 16:28:01 +0000 (12:28 -0400)
commit992d4f52ff2801a48d85b65209cccc26efe8bd8c
treebb262f2a6bf31748ed9fcbc99e7b5bc9ee45a683
parent38aebbdc0625f16739d009923e9021e839529cfc
Fixed unncessary tight loop hash copy in saveindex where a pointer can be used instead. Can speed up refreshes by nearly 50% in some circumstances.

I *think* this is ok, at least it results in close to the same index being
saved as before. The difference is that plugins that have a pagestate of {}
have that recorded this way, while with the tight loop, the key for the
plugin in not copied in that case. I cannot see how this could matter.
IkiWiki.pm
debian/changelog