3 ms·
Javascript is faster than Python by a not-insubstantial amount, due to JIT and the sheer number of man hours poured into optimizing the browser Javascript engin
by dralley 5y ago
Javascript is faster than Python by a not-insubstantial amount, due to JIT and the sheer number of man hours poured into optimizing the browser Javascript engines.
I have no idea about memory consumption. I assume Python does better than Javascript there due to reference counting.