File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ But still, here is a table outlining the performances when `N = 100000`:
163163| Remove Many Items w/ LINQ (speed) | 104 ms ⭐ | 793 ms 👌 | 885 ms | 1693 ms |
164164| Remove Many Items w/ LINQ (memory) | 198072 B ⭐ | 529280 B 👌 | 673168 B | 1473296 B |
165165| Add Items During ` foreach ` | ❌ | ❌ | ❌ new key | ❌ |
166- | Emit Key/Index During ` foreach ` | 🤷 ( [ 1] ) | ✔️ | ✔️ | ✔️ |
167- | Replace Items During ` foreach ` | 🤷 ( [ 1] ) | ✔️ | ✔️ | ❌ if key exists |
166+ | Emit Key/Index During ` foreach ` | 🤷 [ 1] | ✔️ | ✔️ | ✔️ |
167+ | Replace Items During ` foreach ` | 🤷 [ 1] | ✔️ | ✔️ | ❌ if key exists |
168168| Remove Items During ` foreach ` | ❌ | ✔️ | ✔️ | ❌ |
169169
170170You may see that ` DictionaryList<T> ` is an all-rounded, midway solution between a ` List<T> ` and a ` Dictionary<TKey,TValue> ` .
You can’t perform that action at this time.
0 commit comments