ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Lantukh (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (IGNITE-2288) F.first(Collection) should use index-based lookup for Lists.
Date Sat, 26 Dec 2015 14:33:49 GMT

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

Ilya Lantukh reassigned IGNITE-2288:
------------------------------------

    Assignee: Ilya Lantukh  (was: Vladimir Ozerov)

> F.first(Collection) should use index-based lookup for Lists.
> ------------------------------------------------------------
>
>                 Key: IGNITE-2288
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2288
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: general
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Ilya Lantukh
>             Fix For: 1.6
>
>
> There are lots of places in code where F.first(Collection) is used. Quite often passed
collection is a List. 
> Instead of gettting iterator, we should do "get(0)" in these cases. This will allow us
to prevent iterator creation.



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

Mime
View raw message