Closed yallop closed 4 years ago
See #597. This makes the function around twice as fast on my machine. The changes are:
ctypes_write
[@@noalloc]
CArray.fill
See #597. This makes the function around twice as fast on my machine. The changes are:
ctypes_write
[@@noalloc]
CArray.fill
by eliminating some allocations and moving some type dispatch out of the loop