Better history lookup performance.
authorDaniel Carl <danielcarl@gmx.de>
Tue, 26 Feb 2013 22:04:06 +0000 (23:04 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Tue, 26 Feb 2013 22:04:06 +0000 (23:04 +0100)
commit1cd10e6bbe0c1ca5f3b1329bf7897335769103d4
treeae44cd05291ca2672684a1d7d7a81928de04cef5
parent26a44e4b01a3eeffd3c004c0e4899f35e386b07b
Better history lookup performance.

Don't generate the list of matching item if we step through the items.
Generate the active list only one time and use it to step through the matching
history items.
src/history.c
src/main.h