Le Samedi 07 Octobre 2006 18:29, Yonik Seeley a écrit :
> While reviewing some of the LazyField code in preparation for Solr support,
> https://issues.apache.org/jira/browse/SOLR-52
> I noticed that the char[] used to read the String data is a member,
> and thus kept around after the data is read and a String constructed.
> It doesn't look like it serves any purpose... I assume this is just a
> little oversight?

It looks like to me that this was designed to avoid many instanciation of 
char[] buffers. So I wouldssay that this would be static, but then you will 
certainly have concurrency problems.

Maybe you can be interested in the way I worked with it in LUCENE-662.

Nicolas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to