chiark / gitweb /
journal: optimize bisection logic a bit by caching the last position
authorLennart Poettering <lennart@poettering.net>
Tue, 26 Nov 2013 19:37:53 +0000 (20:37 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 26 Nov 2013 19:37:53 +0000 (20:37 +0100)
commitf268980d2cee694fa4118a71402a47c316af0425
treeffd210cd16a558d5fbc0f3dbc18113e4bce338ff
parentbf807d4dbf27c783db8dfd7f4eca321ae4be5b00
journal: optimize bisection logic a bit by caching the last position

This way we can do a quick restart limiting a bit how wildly we need to
jump around during the bisection process.
src/journal/journal-file.c