Skip to content
Snippets Groups Projects
Commit bbe8d51b authored by Damien George's avatar Damien George
Browse files

py/map: Add fast-path for hashing of map index when it is a qstr.

Map indicies are most commonly a qstr, and adding a fast-path for hashing
of a qstr increases overall performance of the runtime.

On pyboard there is a 4% improvement in the pystone benchmark for a cost
of 20 bytes of code size.  It's about a 2% improvement on unix.
parent e5ce5e2a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment