lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] NightOwl888 opened a new pull request #465: PERFORMANCE: Lucene.Net.IndexWriter.ReaderPool: Fixed deleting while iterating to reduce allocations
Date Wed, 07 Apr 2021 21:57:25 GMT

NightOwl888 opened a new pull request #465:

   Swapped in `ConcurrentDictionary<TKey, TValue>` instead of `Dictionary<TKey, TValue>`
to take advantage of the fact [`ConcurrentDictionary<TKey, TValue>` supports deleting
while iterating](
Also added conditional support to use a non-concurrent `Dictionary<TKey, TValue>` if/when
we add a target for .NET Core/.NET 5/.NET 6.

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:

View raw message