Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B05AC033 for ; Mon, 11 Jun 2012 21:33:45 +0000 (UTC) Received: (qmail 75059 invoked by uid 500); 11 Jun 2012 21:33:43 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 74930 invoked by uid 500); 11 Jun 2012 21:33:43 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 74907 invoked by uid 99); 11 Jun 2012 21:33:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jun 2012 21:33:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 7058C14002F for ; Mon, 11 Jun 2012 21:33:43 +0000 (UTC) Date: Mon, 11 Jun 2012 21:33:43 +0000 (UTC) From: "Adrien Grand (JIRA)" To: dev@lucene.apache.org Message-ID: <1031869040.4360.1339450423462.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1670182620.52124.1339146743454.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (LUCENE-4120) FST should use packed integer arrays MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-4120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13293107#comment-13293107 ] Adrien Grand commented on LUCENE-4120: -------------------------------------- bq. This presentation has some details: http://ciaa-fsmnlp-2011.univ-tours.fr/ciaa/upload/files/Weiss-Daciuk.pdf Thanks for the link, Dawid! I am considering adding this link to the {{pack}} docs. > 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 > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Minor > Fix For: 4.0 > > Attachments: LUCENE-4120.patch > > > 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