Skip to content

Instantly share code, notes, and snippets.

View array_sim_nim.ipynb
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
View carray.nim
CArray{.unchecked.}[T] = ptr array[1, T]
A = object
items: ptr float
B = object
items: CArray[float]