News for hackers. Stuff that matters.
Re:JNumPy: Writing high-performance C extensions for Python ... by salty_biscuits on Wednesday August 10, 2022 @03:15AM (#32408684)
I only had a quick look, but I would guess the slicing is what makes it slower than you would expect. Julia copies on an array slice, but you can use the @view macro or do some loops with a preallocated array to make it faster.
Re:JNumPy: Writing high-performance C extensions for Python ... by cycomanic on Wednesday August 10, 2022 @03:39AM (#32408852)
Thanks I'll have a look and post and update sometime later.