New submission from Benjamin Peterson:

dict_traverse shows up a lot on statistical profiles of Python programs. This 
is not surprising since Python programs have lots of dicts. There isn't a huge 
amount of room for optimization here, but we can avoid some memory indirection. 
This patch saves a few percent of time through this function in my measurements.

----------
components: Interpreter Core
files: traverse.patch
keywords: patch
messages: 274420
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: optimize dict_traverse a bit
type: performance
versions: Python 3.6
Added file: http://bugs.python.org/file44375/traverse.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27956>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to