Re: [htdig3-dev] Matching substrings


Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Mon, 10 May 1999 10:32:35 -0500 (CDT)


According to J. op den Brouw:
> On Mon, 10 May 1999, Geoff Hutchison wrote:
> (snip)
> > To increase the maximum size of stored words, change MAX_WORD_LENGTH in
> > include/htconfig.h and recompile ht://Dig. We should probably think about
> > how to make this into an attribute, but until then you'll need to recompile.
> (snip)
>
> A compile time option (configure) would be better. Otherwise you don't
> know where to stop (what would be the maximum size?).

Who need compile-time size restrictions when you have a dynamically
allocated string package? Right now, there's just one char[] array in
WordReference.h that would need to change, in order to allow a switch
to a config attribute for this size limit. I think it's worth it.
Hopefully it won't slow down the WordList.cc code by much.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
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
htdig3-dev@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Mon May 10 1999 - 08:42:34 PDT