[Python-Dev] Extended Buffer Interface/Protocol (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 21 23:40:49 CET 2007
- Previous message: [Python-Dev] Extended Buffer Interface/Protocol
- Next message: [Python-Dev] Extended Buffer Interface/Protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neil Hodgson wrote:
I think one of the motivations for discontiguous segments was for split buffers which are commonly used in text editors.
Note that this is different from the case of an array of pointers to arrays, which is a multi-dimensional array structure, whereas a split buffer is a concatenation of two (possibly different sized) one-dimensional arrays.
So an array-of-pointers interface wouldn't be a direct substitute for the existing multi-segment buffer interface.
-- Greg
- Previous message: [Python-Dev] Extended Buffer Interface/Protocol
- Next message: [Python-Dev] Extended Buffer Interface/Protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]