You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Adrien Grand (Jira)" <ji...@apache.org> on 2021/10/19 13:02:00 UTC

[jira] [Resolved] (LUCENE-10180) Remove usage of lambdas in SegmentMerger?

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

Adrien Grand resolved LUCENE-10180.
-----------------------------------
    Fix Version/s: main (9.0)
       Resolution: Fixed

> Remove usage of lambdas in SegmentMerger?
> -----------------------------------------
>
>                 Key: LUCENE-10180
>                 URL: https://issues.apache.org/jira/browse/LUCENE-10180
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: main (9.0)
>
>         Attachments: profile.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> SegmentMerger now uses lambdas to share the logic around logging merging times for all file formats.
> One problem is that these lambdas get auto-generated names, and it makes it harder to work with profilers since things that should logically end up in the same sub tree end up in different sub trees because two instances of the same lambda get different names.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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