Re:Perl, Python, Ruby, PHP, C, C++, Lua, tcl, JavaScript and...
by bane on Monday March 24, 2014 @04:05PM
(#7461031)
Well, wouldn't it make more sense for the compiler or VM to handle this kind of optimization under the hood? It seems needless that the direct way of doing it is the slower and "unless you just know" to do it this other round about way you'd never arrive at this.
Still I'd love to see the same benchmarks done with more idiomatic code.
Still I'd love to see the same benchmarks done with more idiomatic code.