[ https://issues.apache.org/jira/browse/LUCENE-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521340 ]
Dawid Weiss commented on LUCENE-871: ------------------------------------ I guess it's a matter of just writing down two versions and comparing them against each other. :) Yonik: I don't think lookupswitch is O(1) -- my belief is that lookupswitch is a binary search through the key set http://java.sun.com/docs/books/jvms/second_edition/html/Compiling.doc.html#14942. I guess you could _make_ it O(1) with perfect hashing, for example, but if I were to guess it's not the reality. It's a good question though -- I'll have a look at SUN's JVM sources in a spare moment. > ISOLatin1AccentFilter a bit slow > -------------------------------- > > Key: LUCENE-871 > URL: https://issues.apache.org/jira/browse/LUCENE-871 > Project: Lucene - Java > Issue Type: Bug > Components: Analysis > Affects Versions: 1.9, 2.0.0, 2.0.1, 2.1, 2.2 > Reporter: Ian Boston > Assignee: Michael McCandless > Fix For: 2.3 > > Attachments: fasterisoremove1.patch, fasterisoremove2.patch, > ISOLatin1AccentFilter.java.patch, LUCENE-871.take4.patch > > > The ISOLatin1AccentFilter is a bit slow giving 300+ ms responses when used in > a highligher for output responses. > Patch to follow -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]