Stuart Langridge on Nostr: JavaScript perf ppl: from a page about calculating the root mean square of an array ...
JavaScript perf ppl: from a page about calculating the root mean square of an array of numbers in JS:
“Benefits Of Writing One-line Functions The less code will require less memory, so it will take less time for any Web Browser to load the script with less memory. Further, the browser renders the WebPage by executing the code line-by-line, so any operation on the website involving One-line functions will respond much more quickly as compared to the normal functions.”
This is bullshit, right?
“Benefits Of Writing One-line Functions The less code will require less memory, so it will take less time for any Web Browser to load the script with less memory. Further, the browser renders the WebPage by executing the code line-by-line, so any operation on the website involving One-line functions will respond much more quickly as compared to the normal functions.”
This is bullshit, right?