Às 20:10 de 21/04/19, MRAB escreveu:
> On 2019-04-21 19:23, Paulo da Silva wrote:
>> Hi all.
>>
...
> Have you compared the speed with an implementation that uses
> defaultdict? Your code always creates an empty list for each item, even
> though it might not be needed.

I never used defaultdict. I'll take a look at it.
Thanks
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to