Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 76682 invoked from network); 2 Feb 2010 14:36:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2010 14:36:48 -0000 Received: (qmail 94114 invoked by uid 500); 2 Feb 2010 14:36:47 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 94033 invoked by uid 500); 2 Feb 2010 14:36:47 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 94019 invoked by uid 99); 2 Feb 2010 14:36:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 14:36:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 14:36:39 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DB201234C48C for ; Tue, 2 Feb 2010 06:36:18 -0800 (PST) Message-ID: <738286525.27061265121378896.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Feb 2010 14:36:18 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2232) Use VShort to encode positions In-Reply-To: <1579791409.9811264333217812.JavaMail.jira@brutus.apache.org> 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-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828633#action_12828633 ] Yonik Seeley commented on LUCENE-2232: -------------------------------------- A branch mispredict can be more costly, depending on the context. Cache misses are a major factor, and allowing speculative execution further ahead in the code (by correctly predicting branches) one can overlap those cache misses. http://www.infoq.com/presentations/click-crash-course-modern-hardware The complexity of modern hardware increases the need to do performance tests in context (unless it's clearly a win of course). > Use VShort to encode positions > ------------------------------ > > Key: LUCENE-2232 > URL: https://issues.apache.org/jira/browse/LUCENE-2232 > Project: Lucene - Java > Issue Type: Improvement > Components: Index > Reporter: Paul Elschot > Priority: Minor > Attachments: LUCENE-2232-nonbackwards.patch, LUCENE-2232-nonbackwards.patch > > > Improve decoding speed for typical case of two bytes for a delta position at the cost of increasing the size of the proximity file. -- 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: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org