lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Elschot (JIRA)" <>
Subject [jira] Updated: (LUCENE-1410) PFOR implemenation
Date Wed, 01 Oct 2008 19:53:46 GMT


Paul Elschot updated LUCENE-1410:

    Attachment: LUCENE-1410.patch

20081001: Initial implementation of PFOR.

The target package is o.a.l.util.pfor, mostly for testing convenience,
even though the code has no dependencies on Lucene.

To try it out please use jvmarg -server during the test, see also on how to
do this. The command
ant -Dtestcase=TestPFor test-core
should start the test after applying the patch.
The test will take about 25 seconds to run. 

There is some optimization for decompression included. On my machine
with a 1.6.0_03-b05 Sun jvm, the decompression performance for 1-7 bits
frame size varies between about 60M ints/sec unoptimized and 200M ints/sec
optimized, as reported by the test. This appears adequate for practical use,
but it should be noted that this performance is from CPU cache to CPU cache.

The implementation still needs quite a bit of work. I'm posting it now because
I'd like feedback on the interface for compression and decompression.
Typical intended usage is present in

> PFOR implemenation
> ------------------
>                 Key: LUCENE-1410
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Other
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-1410.patch
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
> 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:
For additional commands, e-mail:

View raw message