You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2016/05/10 22:23:13 UTC

[jira] [Updated] (LUCENE-7071) Can we reeduce excessive byte[] copying in OfflineSorter?

     [ https://issues.apache.org/jira/browse/LUCENE-7071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated LUCENE-7071:
-----------------------------
    Fix Version/s:     (was: 6.0)
                   master (7.0)


Manually correcting fixVersion per Step #S5 of LUCENE-7271


> Can we reeduce excessive byte[] copying in OfflineSorter?
> ---------------------------------------------------------
>
>                 Key: LUCENE-7071
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7071
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 6.1, master (7.0)
>
>         Attachments: LUCENE-7071.patch
>
>
> OfflineSorter, which dimensional points uses heavily in the > 1D case,
> works by reading one partition, a set of N unsorted values, from disk
> and sorting it in memory and writing it out again.
> The sort invokes a provided {{Comparator}} on two {{BytesRef}} values,
> each of which is fully copied from the {{ByteBlockPool}}, when it could
> often reference a slice from the pool instead.
> Another byte[] copy happens when iterating through the sorted values.
> This is an optimization ... I'm targeting 6.1.0 not 6.0.0!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org