[imp] Marking forwards, categories?

Chuck Hagenbuch chuck at horde.org
Thu Jun 9 09:48:39 PDT 2005


Quoting Michael M Slusarz <slusarz at mail.curecanti.org>:

> It wouldn't be difficult code-wise, it would just be a performance
> killer.  If you had 50 look-ups to do on a mailbox page this would be
> 50 DB queries which, if the history table is large, could take quite
> some time.

Actually, that could easily be optimized into one db query (probably 
two, one to get ids, one to fetch the History objects). It's getting 
all of the message-id headers that'd be tricky.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the imp mailing list