[ 
https://issues.apache.org/jira/browse/KAFKA-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082752#comment-17082752
 ] 

ASF GitHub Bot commented on KAFKA-9853:
---------------------------------------

ijuma commented on pull request #8474: KAFKA-9853: Improve performance of 
Log.fetchOffsetByTimestamp
URL: https://github.com/apache/kafka/pull/8474
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Improve performance of Log.fetchOffsetByTimestamp()
> ---------------------------------------------------
>
>                 Key: KAFKA-9853
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9853
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.10.2.2, 2.4.1
>            Reporter: Eric Bolinger
>            Priority: Minor
>              Labels: performance
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> This method inefficiently searches for the first element that meets a 
> condition.  The temporary collection returned by `takeWhile()` method is not 
> really used.  But rather the length is used as an offset into the original 
> collection.



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

Reply via email to