3 ms·
I have just been nerd sniped. EDIT - any hints on how to get a plain-old Swift array to be allocated in a conforming alignment (4096 bytes on Apple Silicon)?
by Kon-Peki 4y ago
I have just been nerd sniped.
EDIT - any hints on how to get a plain-old Swift array to be allocated in a conforming alignment (4096 bytes on Apple Silicon)?
- saagarjha 4y agoIt's not supported, unfortunately. But you can call posix_memalign and work with it as an UnsafeBufferPointer with a similar API.