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 02BC063AC for ; Mon, 13 Jun 2011 15:54:16 +0000 (UTC) Received: (qmail 9071 invoked by uid 500); 13 Jun 2011 15:54:14 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 9008 invoked by uid 500); 13 Jun 2011 15:54:14 -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 9000 invoked by uid 99); 13 Jun 2011 15:54:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 15:54:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2011 15:54:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 90532417FB2 for ; Mon, 13 Jun 2011 15:53:51 +0000 (UTC) Date: Mon, 13 Jun 2011 15:53:51 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <2144793530.2809.1307980431588.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1369133374.2523.1307970891737.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3196) Optimize FixedStraightBytes for bytes size == 1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048606#comment-13048606 ] Michael McCandless commented on LUCENE-3196: -------------------------------------------- Looks good Simon! Probably other smallish sizes (2, 3, 4, ...) could be a single array too, ie paged or not should be separately controllable, but we can do that later; this is a great baby step since we need this for norms cutover. Do we have a test (eg a random test that picks random fixed byte[] size) that covers this...? > Optimize FixedStraightBytes for bytes size == 1 > ----------------------------------------------- > > Key: LUCENE-3196 > URL: https://issues.apache.org/jira/browse/LUCENE-3196 > Project: Lucene - Java > Issue Type: Improvement > Components: core/index, core/search > Affects Versions: 4.0 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Priority: Minor > Fix For: 4.0 > > Attachments: LUCENE-3196.patch > > > Currently we read all the bytes in a PagedBytes instance wich is unneeded for single byte values like norms. For fast access this should simply be a straight array. -- This message is automatically generated by JIRA. 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