lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Elschot (JIRA)" <>
Subject [jira] Commented: (LUCENE-1410) PFOR implementation
Date Fri, 03 Oct 2008 15:24:44 GMT


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
I'll add higher numbers of bits later, the code is straightforward and it could actually be
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:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Other
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-1410b.patch,
>   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:
For additional commands, e-mail:

View raw message