2 ms·
One of the nice things about using map() is multiprocessing.Pool.map() can be a drop-in replacement. OTOH, map() does otherwise have a little overhead compared
by AncientPC 14y ago
One of the nice things about using map() is multiprocessing.Pool.map() can be a drop-in replacement.
OTOH, map() does otherwise have a little overhead compared to list comprehension.