Re: [Dovecot] Optimisation opportunity for IMAP searches

2013-10-11 Thread Rick van Rein (OpenFortress)
Hi Timo, > The search code works pretty much like you described. Yeah, that's what I'd assumed from Dovecot until I ran into these strange findings. > I was surprised to find out that in v2.2 it still didn't work correctly, but > it was quite a small fix: http://hg.dovecot.org/dovecot-2.2/rev/

[Dovecot] Optimisation opportunity for IMAP searches

2013-10-10 Thread Rick van Rein (OpenFortress)
Hello, I love Dovecot, but when developing a small IMAP tool, I ran into searching behaviour can easily be optimised. Please forgive a rather detailed suggestion. This was on Dovecot 1.2.15 on Debian Squeeze. My tool? It's called "midget" and retrieves documents from an IMAP box based on th