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 Mon, 06 Oct 2008 18:15:44 GMT


Paul Elschot commented on LUCENE-1410:

bq. Did you also switch to relative getInts?

No. I thought about that, but I wanted to make it work correctly first.

bq. This way, I could change my TestPFor2 to rely on self-punctuation when reading. And, I
can pass down a ByteBuffer derived directly from the file, instead of copying bytes into byte[]

The only concern I have there is that when using a byte[] directly from the file getting the
int values may result in non 4 byte aligned fetches. Can current hardware do this well?

It's tempting to move to a full C implementation directly now. Should we do that?
A similar move was made in the past by letting gcc deal with vInts, but meanwhile the jvms
caught up there.

> PFOR implementation
> -------------------
>                 Key: LUCENE-1410
>                 URL:
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Other
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: autogen.tgz, 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