ocaml-nullable-array icon indicating copy to clipboard operation
ocaml-nullable-array copied to clipboard

Nullable-array is a small self-contained library providing an efficient implementation for a type equivalent to `'a option array`

Results 2 ocaml-nullable-array issues
Sort by recently updated
recently updated
newest added

This PR adds some functions that I found useful when porting https://github.com/backtracking/vector to use a nullable array internally. I haven't yet added tests for these functions beyond just exercising them...

It looks to me that `unsafe_manual_blit` could be slightly more efficient by making use of `Array.unsage_get` and `Array.unsafe_set`.