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

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[] first.

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: https://issues.apache.org/jira/browse/LUCENE-1410
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Other
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: autogen.tgz, LUCENE-1410b.patch, TestPFor2.java, 
> TestPFor2.java, 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