+13
−10
+9
−11
+6
−0
Loading
Some libraries that use SIMD instructions require numpy arrays to be aligned in memory. This is the case for instance with fftw. By moving the meta-data structure to the end of the shared memory file the arrays are now naturally page aligned, as returned by mmap().