Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
PhilipWitte / carray.nim
Last active April 5, 2021 14:58
Unchecked Array vs Pointer Arithmatic
CArray{.unchecked.}[T] = ptr array[1, T]
A = object
items: ptr float
B = object
items: CArray[float]