Since the buffer can be reused, seems that is the proper choice, and the "increased memory" you cited originally is not an issue.
-----Original Message----- From: Yonik Seeley [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 1:07 PM To: [email protected]; [EMAIL PROTECTED] Subject: Re: Lucene does NOT use UTF-8. On 8/30/05, Robert Engels <[EMAIL PROTECTED]> wrote: > > Not true. You do not need to pre-scan it. What I previously wrote, with emphasis on key words added: "one has to *either* buffer the entire string, *or* pre-scan it." -Yonik Now hiring -- http://tinyurl.com/7m67g --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
