[issue28618] Decorate hot functions using __attribute__((hot)) to optimize Python

STINNER Victor report at bugs.python.org
Tue Nov 15 09:18:35 EST 2016


STINNER Victor added the comment:

> How about marking lookdict_unicode and lookdict_unicode_nodummy as hot?

Ok, your benchmark results doens't look bad, so I marked the following functions as hot:

- lookdict
- lookdict_unicode
- lookdict_unicode_nodummy
- lookdict_split

It's common to see these functions in the top 3 of "perf report".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28618>
_______________________________________


More information about the Python-bugs-list mailing list