Add primitives for fast access to bigarray dimensions #5762
Original bug ID: 5762
Bigarray.Array1.dim is a generic C function that may be called a lot when doing IO using bigarrays. It is a lot slower than what can be done directly in cmm.
I provide a patch to add the primitives for Array1,Array2 and Array3 modules.
for i = 0 to n do
is close to 10 times faster with the patch.
The text was updated successfully, but these errors were encountered: