4 ms·
I think you mean the buffer interface? I think the buffer interface is too complex to provide directly to users. I think an API that returns numpy arrays is si
by lalaland1125 2y ago
I think you mean the buffer interface?
I think the buffer interface is too complex to provide directly to users. I think an API that returns numpy arrays is simpler and easier to understand.
- sgarland 2y agoMemoryviews abstract the buffer interface as an object, so perhaps that’s what was meant. I disagree with the inclination to jump to numpy. I much prefer minimizing 3rd party libraries, especially if the performance is equivalent or nearly so.