Re: [Python-Dev] Decision of having a deprecation period or not for changing csv.DictReader returning type.

2017年12月17日 10:27:06 -0800

On Mon, Dec 18, 2017 at 12:46 AM, Guido van Rossum <[email protected]> wrote:
> My gut suggests me not to do this (neither here nor in other similar cases).
> I doubt there's much of a performance benefit anyway.
OrderedDict uses 2x memory than dict.
So it affects memory usage of applications loading large CSV with DictReader.
While I think application should use tuple when memory consumption is
matter, there is significant benefit.
INADA Naoki <[email protected]>
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to