[ 
https://issues.apache.org/jira/browse/LUCENE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636660#action_12636660
 ] 

Paul Elschot commented on LUCENE-1410:
--------------------------------------

Q: I'm using fixed 6-bit frame size. Can you add bigger bit sizes to your pfor 
decompress?
 A: It should work for 1<=numFrameBits<=30.

That answer was too short. There is some fallback code (decodeAnyFrame) that 
will decompress
for any frame or reference. The patch contains unrolled versions of that for up 
to 7 bits iirc.
I'll add higher numbers of bits later, the code is straightforward and it could 
actually be generated.
Btw. on my machine the unrolled 9 bit version is actually a bit slower than the 
loop, I don't know why,
maybe there are too many buffer references (9) in the loop for the jit to cope 
with.



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

Reply via email to