PERF: Improve performance of special attribute lookups by eendebakpt · Pull Request #21423 · numpy/numpy

eendebakpt · GitHub

marked this pull request as draft

May 1, 2022 21:08

Cache PyUniCode object with value __array_ufunc__ for attribute lookup

eendebakpt

changed the title PERF: Improve performance ufunc_generic_fastcall PERF: Improve performance ufunc_generic_fastcall for scalar input

May 1, 2022

Closed

…ance Refactor code so the unicode names are interned

seberg
seberg

Merged

seberg

changed the title PERF: Improve performance ufunc_generic_fastcall for scalar inputPERF: Improve performance of special attribute lookups

May 3, 2022

Frankly, we should not use a header anymore there, it should be a C file now, but that is better for another PR/day.

eendebakpt

deleted the performance_cache_unicode_array_ufunc branch

May 3, 2022 12:30

This was referenced

May 5, 2022 Merged

Merged