January 2019
— Found it
I skipped that, because it's absurd to compare raw-loop performance. it will be faster to the end of the days🤤
— Depends on a lot of things
— With proper tail calls and a few more optimizations, they should compile to the same
— Yes, functional loop perf depends on a lot of things
— Same with imperative loops
— No, not the same
— How?
— Https://jsperf.com/for-vs-foreach/75
— Much less
— Firefox seems to beat the shit out of Chrome on this one
— Much less what?