Friday, January 30, 2004
HighlightEngine is no longer static, it keeps lists in fields to stop creating them all the time.
More optimizations on the list handling in the highlighter. Stuck on a dumb bug to do with concurrent modifications, but that's fixed now and I'm going home!
Class name Instance count Difference
-------------------------------------------------------------------- -------------- ----------
java.lang.String 108330 + 18496
char[] 74652 + 15151
java.util.LinkedList$Entry 14496 + 14326
java.util.LinkedList$ListItr 13286 + 13286
java.lang.StringBuffer 5734 + 5706
com.xrefer.lucene.entitytokenizer.Token 4651 + 4651
Object[] 6458 + 4069
org.apache.lucene.analysis.Token 3323 + 3322
int[] 3763 + 3095
byte[] 2435 + 1804
java.nio.HeapCharBuffer 1138 + 1138
short[] 1838 + 1070
java.io.IOException 1049 + 1049
T