Skip to content Skip to sidebar Skip to footer
Showing posts with the label Memoryview

Buffers And Memoryview Objects Explained For The Non-c Programmer

Python 2.7 has introduced a new API for buffers and memoryview objects. I read the documentation on… Read more Buffers And Memoryview Objects Explained For The Non-c Programmer

Passing/returning Cython Memoryviews Vs Numpy Arrays

I am writing Python code to accelerate a region properties function for labeled objects in a binary… Read more Passing/returning Cython Memoryviews Vs Numpy Arrays

Cython: Create Memoryview Without NumPy Array?

Since I found memory-views handy and fast, I try to avoid creating NumPy arrays in cython and work … Read more Cython: Create Memoryview Without NumPy Array?