[ 
https://issues.apache.org/jira/browse/LUCENE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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 TestPFor.java 
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 TestPFor.java.


> PFOR implemenation
> ------------------
>
>                 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-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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to