On Sun, Mar 07, 2004 at 07:39:40PM -0800, Justin Mason wrote: > As part of Metadata, they can be deleted easily once we're finished > scanning the message, before we return the message object back to > the user. This reduces memory overhead. > > Agreed they *logically* fit better in Message; but bear in mind these > semantics.
Hrm. That argument doesn't quite bear out though IMHO. The functions are called in check() and in the Bayes code, plus anything the people calling the code want to do (It's likely third-party code is using them to do things their way...) So the functions and the resulting data have to be around for pretty much the lifecycle of the message. Also, in the current code, the Metadata doesn't get removed until Message->finish() is called. So I really think it ought to move into Message. -- Randomly Generated Tagline: "It is our job to protect the magic smoke ..." - Prof. Michaelson
pgp3nXEf73aQ8.pgp
Description: PGP signature
