#2967: limit could be smarter about filtering Comment (by pdmef):
Actually that's the case: see perform_and() and perform_or() in pattern.c. A simple '~d<1m~bfoo' limit is way faster than '~bfoo~d<1m' on a folder with many message older than one month. Do you have any numbers suggesting that in '~L dato ~b mutt' all messages not matching '~L dato' get body-scanned, too? I think this ticket can be closed unless you still want patterns to be run through an optimizer prior to execution, i.e. a feature request. -- Ticket URL: <http://dev.mutt.org/trac/ticket/2967#comment:2>
