4 ms·
Much speed up was from using the right data structure for the task, e.g. Vec rather than HashMap and BitSet rather than HashSet.
by ChrisSD 3y ago
Much speed up was from using the right data structure for the task, e.g. Vec rather than HashMap and BitSet rather than HashSet.