[SciPy-User] efficient computation of point cloud nearest neighbors

Sturla Molden sturla at molden.no
Wed Jun 1 18:17:10 EDT 2011


Den 01.06.2011 23:47, skrev Sturla Molden:
>
> os.fork() will copy-on-write on Linux though.
>

On Windows we can allocate shared memory as private copy-on-write pages. 
It is not as useful as Linux' os.fork(), as pointers cannot be shared, 
but still a nice way to save some RAM if we want to share (and 
write-protect) large ndarrays. I might add this option to my shared 
memory ndarrays one day, but not today :)

Sturla







More information about the SciPy-User mailing list