Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4899

.NET: Review Dictionary usage in APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: