lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-4120) FST should use packed integer arrays
Date Fri, 08 Jun 2012 09:12:22 GMT
Adrien Grand created LUCENE-4120:
------------------------------------

             Summary: FST should use packed integer arrays
                 Key: LUCENE-4120
                 URL: https://issues.apache.org/jira/browse/LUCENE-4120
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/FSTs
    Affects Versions: 5.0
            Reporter: Adrien Grand
            Priority: Minor
             Fix For: 5.0


There are some places where an int[] could be advantageously replaced with a packed integer
array.

I am thinking (at least) of:
 * FST.nodeAddress (GrowableWriter)
 * FST.inCounts (GrowableWriter)
 * FST.nodeRefToAddress (read-only Reader)

The serialization/deserialization methods should be modified too in order to take advantage
of PackedInts.get{Reader,Writer}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message