lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (LUCENE-2232) Use VShort to encode positions
Date Tue, 02 Feb 2010 14:36:18 GMT


Yonik Seeley commented on LUCENE-2232:

A branch mispredict can be more costly, depending on the context.
Cache misses are a major factor, and allowing speculative execution further ahead in the code
(by correctly predicting branches) one can overlap those cache misses.

The complexity of modern hardware increases the need to do performance tests in context (unless
it's clearly a win of course).

> Use VShort to encode positions
> ------------------------------
>                 Key: LUCENE-2232
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-2232-nonbackwards.patch, LUCENE-2232-nonbackwards.patch
> Improve decoding speed for typical case of two bytes for a delta position at the cost
of increasing the size of the proximity file.

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