Open
Description
Some example of existing stack-unsafe functions:
sort
- reported in sort and sortBy are not stack safe #192nubEq
, can be fixed for strict lists by applying same strategy used for structnub
in Match nub* functions with Array #179nub
for lazy lists. Don't know of a good way to fix this. The strictnub
strategy of Match nub* functions with Array #179 cannot be applied here because you can'treverse
an infinite lazy list.
We should ideally setup stack-safety tests for every function. To help make those tests run faster, we could shrink the v8 stack size with something like --stack_size=10
(default is 984 kB).