diff options
author | Bruno Lima <bdl1998@hotmail.com> | 2024-07-14 06:05:35 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-14 10:05:35 +0100 |
commit | 04130b290b545e64625c07dc8fa2709d17e70880 (patch) | |
tree | 1d748d0be64a86c777a02e46188c3606c1ca9953 /Python/emscripten_trampoline.c | |
parent | f6f4022a357f70f1c40945403065e81b6c2e4854 (diff) | |
download | cpython-04130b290b545e64625c07dc8fa2709d17e70880.tar.gz cpython-04130b290b545e64625c07dc8fa2709d17e70880.zip |
gh-121562: optimized hex_from_char (#121563)
Performance improvement to `float.fromhex`: use a lookup table
for computing the hexadecimal value of a character, in place of the
previous switch-case construct. Patch by Bruno Lima.
Diffstat (limited to 'Python/emscripten_trampoline.c')
0 files changed, 0 insertions, 0 deletions