According to Geoff Hutchison:
> This weekend I'm going to start in on the documentation updates. Much of it
> has been taken care of by Gilles and Hans-Peter and all. But this means I
> probably won't get a chance to move the compression stuff in DocumentRef.cc
> to only act on the DocHead methods.
> 
> So... Does anyone (Randy perhaps?) want to submit a patch to move
> compression out of the Serialize/Deserialize methods and move them to
> DocHead? ;-) It should be pretty simple and the move should ensure we only
> compress/decompress that field when necessary. The speedup should be
> significant and the hit on compression ratios should be pretty small.
> 
> Thanks in advance,

Another small change I'd suggest to the compression stuff would be not
to statically allocate the c_buffer, but instead dynamically allocate
it the first time you need to compress or uncompress.  60K is a fair
bit of static data to sit around if you're not using it.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.

Reply via email to