|
|
|
|
|
by idlewan
4231 days ago
|
|
Fixed for running a proper imperative version instead of the functional-oriented 'imperative' version of the original author: http://jsperf.com/oop-vs-ramda/4 TL;DR: Imperative is faster than functional. Functional is shorter (33% slower in chromium, 83% slower in firefox), but might be more readable depending on your preferences. |
|
Anyway, doing the same to the FP version yields almost equal speeds (Chromium):
http://jsperf.com/oop-vs-fp