python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
erlang lists:foreach/lists:foldl/lists:foldr consumes more memory than using tail recursion
I ran a query using nested lists:foreach on the list of size 15000, each having lists of size about 37.
This query consumed more than 5 Gb of memory, but when query was ran using tail recursion memory...
Sidharth Gupta
Votes: 0
Answers: 0