2 ms·
For small datasets something like defaultdict may be more efficient, but if it would not fit in RAM you have a problem.
by citrin_ru 6y ago
For small datasets something like defaultdict may be more efficient, but if it would not fit in RAM you have a problem.