xnd-project / libndtypes

Subsumed into xnd
https://xnd.io/
BSD 3-Clause "New" or "Revised" License
25 stars 17 forks source link

[WIP] Use array representation where offsets are represented as data. #30

Closed skrah closed 7 years ago

skrah commented 7 years ago

This partly implements an array representation where the offsets required for addressing var-arrays are embedded as data as part of the array structure. Any value described by a datashape type without explicit pointers requires only a single memory allocation.

skrah commented 7 years ago

Superseded by #32.