Re:JNumPy: Writing high-performance C extensions for Python ...
by webshit2 on Wednesday August 10, 2022 @04:03AM
(#32409046)
This should probably be
so allocations are avoided. This doubled the speed for me, although I don't what size inputs are realistic. The @benchmark and @profile macros are good for this stuff.
[ Parent
| on HN ]
Re:JNumPy: Writing high-performance C extensions for Python ...
by crabbygrabby on Wednesday August 10, 2022 @06:36AM
(#32409918)
Why are you trying to optimize for performance if you don't have a goal in mind?