Re: [htdig3-dev] Reducing htmerge memory requirements (patch)


Subject: Re: [htdig3-dev] Reducing htmerge memory requirements (patch)
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Tue Jun 20 2000 - 18:05:36 PDT


At 11:47 PM +0200 6/20/00, Lorenzo Campedelli wrote:
>Am I missing anything ?

Probably not. The original code (in 3.1.0) was largely a hack. Then
when I rewrote the word database format, of course it broke and I
pieced it back together with the primordial htword code that I had
written. Loic then started making htword into something decent and
neither of us really went back to redo the db.cc code.

In short, it's been one of those areas I've been hoping to get back
to it sometime. Of course it's even better if someone else takes a
look at it. :-)

>the DocID() method returns an int, but the class String has not an
>overloaded = operator converting an int to a string (which I suppose is
>the intended operation) so I think it uses the constructor
>String::String(int init)
>which allocates an empty string. Let me know if I'm wrong.

Yes, I believe you're right. There are a bunch of places where the <<
operator is used for the purpose of converting an int.

Thanks for the patch, it's obviously greatly appreciated.
-Geoff

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
htdig3-dev-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Jun 20 2000 - 16:17:36 PDT