Shared memory and numpy arrays #1329
-
Greetings once again!
I think I was expecting the underlying data to be the same bit of memory. I guess that's not so? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Ah - maybe it is?
|
Beta Was this translation helpful? Give feedback.
-
@PaulRudin
See https://stackoverflow.com/questions/11264838/how-to-get-the-memory-address-of-a-numpy-array-for-c for more discussion about the memory address of numpy ndarray. |
Beta Was this translation helpful? Give feedback.
@PaulRudin
numpy.ndarray.base.data
is not the memory address of the array payload. With vineyard, get the same object twice with the same client instance, the memory address should be the same.