aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-new.c
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-23 17:42:45 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-23 18:14:47 +0100
commitbc0a873b18cd77572c53369e5899134102f93e5e (patch)
treed527f00758971d4dcdd608fca1c1d260a02af1a8 /notmuch-new.c
parent793cbf80495b8230e0b4de6ac609e2ca88b7dd4b (diff)
search : Extend "intial burst" optimization to return all results by chunks
This way, the user gets a steady (but bursty) stream of reults. We double the chunk size each time since each successive chunk has to redo work from all previous chunks. Of course, the overall time is thereby slower, as the price we pay for increased responsiveness. With a search returning about 17000 thread results I measured a total time of 48.8 seconds before this change and 58.4 seconds afterwards.
Diffstat (limited to 'notmuch-new.c')
0 files changed, 0 insertions, 0 deletions