Commit 9c7cd89
committed
Use a LinkedHashSet to store keys in a strict KeySet
We need a data structure that both acts like a Set (queries membership efficiently), and has a stable iteration order.
LinkedHashSet seems to fit this criteria.1 parent 8f9fddf commit 9c7cd89
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments