Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 418 Bytes

README.md

File metadata and controls

3 lines (2 loc) · 418 Bytes

array-primops

Boxed arrays cannot be allocated without initialization, because in that case the garbage collector would try to follow wild pointers. This is a source of inefficiency; quite a few operations must allocate a new array, initialize it, then overwrite the initial elements with the actually relevant data. This package provides low-level primitives for doing such operations without superfluous copying.