Commit a949aa9
authored
update deduplicate (#8623)
Since python 3.6 Dict are ordered, the former source has been updated to new method of deduplication in 2017.
The gain is quite significant for example:
FUNCTION MEAN (ms) MEDIAN (ms)
dict version (new) 124.5 123.6
set version (old) 165.5 171.81 parent d44b65f commit a949aa9
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments