Probably because of aggressive gc implementation, common list operations exhibit a quadratic time complexity.
This was observed with lists:seq/3, lists:flatten/1 and lists:join/2.
We could replace them with nifs that compute size to allocate only once, or fix GC.
Probably because of aggressive gc implementation, common list operations exhibit a quadratic time complexity.
This was observed with
lists:seq/3,lists:flatten/1andlists:join/2.We could replace them with nifs that compute size to allocate only once, or fix GC.