Lars Kotthoff <li...@larsko.org> writes:

> I profiled it, but nothing jumped out to me. Here's the code I've used:
>
I'd be curious to see the same test in C, if someone(TM) had the time.
>
>
> The second function takes *half* the time of the first on my machine, even 
> though they both get the same messages.
>
I agree twice as slow is not reasonable. I do expect it to be slower
because of extra work that notmuch is doing (outside xapian) to
construct the thread structures (parenting nodes turns out to be a bit
non-trivial). I did also spend some effort tuning the thread:{}
queries; the others I think have not looked at as closely.

d


_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-le...@notmuchmail.org

Reply via email to