News for hackers. Stuff that matters.
Re:JNumPy: Writing high-performance C extensions for Python ... by webshit2 on Wednesday August 10, 2022 @04:03AM (#32409046)

  wxy[:,:,k] += mu*conj(err[i,k])*X
This should probably be

  wxy[:,:,k] .+= mu*conj(err[i,k]).*X
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.
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?