[Users] Search for messages between timestamps
Colin Leroy
colin at colino.net
Thu Aug 23 10:56:35 CEST 2018
On Thu, 23 Aug 2018 10:27:05 +0200, Johan Vromans
<jvromans at squirrel.nl> wrote:
> On Thu, 23 Aug 2018 09:22:23 +0200, Colin Leroy <colin at colino.net>
> wrote:
>
> > `date` is more complicated than it seems, it opens multiple files:
>
> Calling `date` 1000 times on a not so fast linux PC takes about a
> second, so I doubt this is the cause of the slowdown.
I've pushed a patch that make things faster:
https://git.claws-mail.org/?p=claws.git;a=commitdiff;h=f6016ef46503a7bac437a3f2ada7d9d0cde60edc
That's still orders of magnitude slower to use "test", forking a shell
etc, than age_lower/age_greater, because the latter works on a cached
timestamp.
I'm not against adding a "date_lower/date_greater" filtering criteria, I
could use it myself.
--
Colin
More information about the Users
mailing list