lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35037] - [PATCH] Some Field methods use Classcast check instead of instanceof which is slow
Date Thu, 26 May 2005 13:00:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35037>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35037





------- Additional Comments From daniel.naber@t-online.de  2005-05-26 15:00 -------
Paul: I also use mostly String instead of Readers... but testing the patch by 
adding 10000 small documents to a RAMDirectory I couldn't see any difference. 
Even running the same code multiple times gives varying results for me. I 
guess my desktop environment and the Pentium M just aren't appropriate for 
these kind of tests. 
 
Wolfganfg: I used the code pasted in the original report but modified so that 
instanceof is always true and  a cast is done after that and so that the 
exception is never thrown. See above, my setup is probably not appropriate for 
measuring small differences. 
 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message