[
https://issues.apache.org/jira/browse/LUCENE-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637191#action_12637191
]
Michael McCandless commented on LUCENE-1410:
--------------------------------------------
bq. 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?
Good question, though if that's the case we could presumably work
around it by ensuring the header of the file is 0 mod 4?
Or... is this because a full block (header + bits + exception data)
may not be 0 mod 4? (Though we too could pad if necessary)
I think the API we want to reach (eventually) is an IntBlockInput in
Directory where you call read(int[]) and it returns the next 128 (say)
ints in an array and moves itself to the end of that block (start of
the next block).
{quote}
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.
{quote}
Maybe we should explore this eventually, but I think for now we should
first try to get the Java version online?
I'd really love to get a prototype integration working so that we can
then do an end-to-end performance test (ie, actual searches). I'm still
wondering how much speedups at this layer will actually affect overall
search time.
> 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]