aantron / bisect_ppx

Code coverage for OCaml and ReScript
http://aantron.github.io/bisect_ppx/demo/
MIT License
301 stars 60 forks source link

Points in an array instead of list #395

Closed jfrolich closed 2 years ago

jfrolich commented 2 years ago

In ReScript lists are compiled as a nested data structure, resulting in a very deep data structure. In large files this causes babel to stack overflow. With this change, the points are saved as an array, which is represented as a simple JavaScript array.