Get array buffer information through buffer info method
suggest changeThis method provides you the array buffer start address in memory and number of elements in array. The address below is from one run and will differ; the element count is 5. Here is an example:
my_array = array('i', [1,2,3,4,5])
my_array.buffer_info()
(33881712, 5)
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents