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

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?

Reading A Binary File With Memoryview

I read a large file in the code below which has a special structure - among others two blocks that … Read more Reading A Binary File With Memoryview

Initialise Cython Memoryview Efficiently

I'm currently setting my MemoryViews in my Cython pyx file as follows: @cython.boundscheck(Fals… Read more Initialise Cython Memoryview Efficiently