[jira] [Created] (IGNITE-4899) .NET: Review Dictionary usage in APIs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-4899) .NET: Review Dictionary usage in APIs

Anton Vinogradov (Jira)
Pavel Tupitsyn created IGNITE-4899:
--------------------------------------

             Summary: .NET: Review Dictionary usage in APIs
                 Key: IGNITE-4899
                 URL: https://issues.apache.org/jira/browse/IGNITE-4899
             Project: Ignite
          Issue Type: Improvement
    Affects Versions: 2.0
            Reporter: Pavel Tupitsyn
             Fix For: 2.0


We have replaced {{IDictionary}} with {{IEnumerable<KeyValuePair<TK, TV>>}} in {{ICacheStore}}, let's do the same for other APIs like {{ICache.GetAll}}.

Reading GetAll results into a dictionary is inefficient in case when user only needs to iterate over results (unneeded allocation and hashing).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)