Исходный код вики Concurrent
Версия 2.1 от Alexandr Fokin на 2022/01/03 15:38
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | Сoncurrent collections за 10 минут | ||
2 | https://habr.com/ru/post/473352/ | ||
3 | |||
4 | Concurrency структуры в .net. ConcurrentQueue изнутри | ||
5 | https://habr.com/ru/post/245837/ | ||
6 | |||
7 | Исходный код реализации. referencesource/mscorlib/system/collections/Concurrent/ | ||
8 | https://github.com/microsoft/referencesource/tree/master/mscorlib/system/collections/Concurrent | ||
9 | |||
10 | |||
11 | **ConcurrentDictionary** | ||
12 | |||
13 | Best Practices for Using ConcurrentDictionary | Лучшие практики использования ConcurrentDictionary | ||
14 | https://arbel.net/2013/02/03/best-practices-for-using-concurrentdictionary/ | ||
15 | |||
16 | |||
17 | How to improve performance of ConcurrentDictionary.Count in C# | ||
18 | https://stackoverflow.com/questions/41298156/how-to-improve-performance-of-concurrentdictionary-count-in-c-sharp | ||
19 | Уточнение: В некоторых случаях может иметь смысл создание собственной обертки над коллекции и ведения в ней собственного счетчика размера. | ||
20 | Контроль интерфейса обертки позволит четко отслеживать события вставки и удаления, для контроля управления счетчиком можно использовать Interlocked. | ||
21 | |||
22 |