3 ms·
"Do you write JS?" Yes, along with a ton of other languages. It is well known that if you use a slow language to set up problems for code written in fast imple
by jerf 13y ago
"Do you write JS?"
Yes, along with a ton of other languages. It is well known that if you use a slow language to set up problems for code written in fast implementations, the result can still be quite fast, but it's the fast bit, not the slow bit that's responsible. See also NumPy. It's not Javascript being fast, it's the regex engine. If what you're doing is regexes, it's almost certainly more efficient to just do the regexes than to try to ship the relevant strings down over commodity internet connections... which is, indeed, exactly why you don't take this approach in your code.