From: Amos Gouaux <[EMAIL PROTECTED]> Date: Fri, 09 Nov 2001 00:15:07 -0600
[...] What about all the stats looking for the script? Could that be a problem? If so, could a db be used as a Sieve script index, like the mailboxes.db? If we're going to worry about Sieve performance, we really should look into compiling scripts to a byte-code. Currently we run lex/yacc on a script on _every delivery_. This is pretty painful, and is memory inefficient as well as time inefficient. It should be relatively easy to compile the scripts to a bytecode we could just mmap() and run through very quickly, but not easy enough that I can write it out in one day. :^) Larry