Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 81917 invoked from network); 6 Oct 2008 17:44:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2008 17:44:40 -0000 Received: (qmail 66486 invoked by uid 500); 6 Oct 2008 17:44:34 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 66253 invoked by uid 500); 6 Oct 2008 17:44:33 -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 66234 invoked by uid 99); 6 Oct 2008 17:44:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2008 10:44:33 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE 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; Mon, 06 Oct 2008 17:43:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4C9F8234C217 for ; Mon, 6 Oct 2008 10:43:44 -0700 (PDT) Message-ID: <1864526685.1223315024312.JavaMail.jira@brutus> Date: Mon, 6 Oct 2008 10:43:44 -0700 (PDT) From: "Paul Elschot (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Issue Comment Edited: (LUCENE-1410) PFOR implementation In-Reply-To: <521761508.1222889624375.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637149#action_12637149 ] paul.elschot@xs4all.nl edited comment on LUCENE-1410 at 10/6/08 10:43 AM: ---------------------------------------------------------------- I can't see the .tgz attachment at the moment. Very nice table, this java/c++ comparison. Meanwhile I also have a java program generator for decompression, and I got very similar results. I found a bug for the 17 bits case in decodeAnyFrame(), this might explain the sum test failure that you saw. One detail on the generated code: the final mask can be omitted, for example the last bit extraction for the 5 bit case: {code} (i4 >>> 27) {code} On the java side leaving this last mask out did not make a difference, but it might be noticeable in c++. was (Author: paul.elschot@xs4all.nl): I can't see the .tgz attachment at the moment. Very nice table, this java/c++ comparison. Meanwhile I also have a java program generator for decompression, and I got very similar results. I found a bug for the 17 bits case in decodeAnyFrame(), this might explain the sum test failure that you saw. One detail on the generated code: the final mask can be omitted, for example the last bit extraction for the 5 bit case: .bq (i4 >>> 27) On the java side leaving this last mask out did not make a difference, but it might be noticeable in c++. > PFOR implementation > ------------------- > > Key: LUCENE-1410 > URL: https://issues.apache.org/jira/browse/LUCENE-1410 > Project: Lucene - Java > Issue Type: New Feature > Components: Other > Reporter: Paul Elschot > Priority: Minor > Attachments: LUCENE-1410b.patch, TestPFor2.java, TestPFor2.java, TestPFor2.java > > Original Estimate: 21840h > Remaining Estimate: 21840h > > Implementation of Patched Frame of Reference. -- 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