Commit 5c7df3d
authored
Update disjoint_set.jl
Improve `sizehint!(DisjointSets)` such that we preallocate the vectors needed by the internal `IntDisjointSets`.1 parent 77e5ea0 commit 5c7df3d
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
0 commit comments