|
|
|
|
|
by dhfjgkrgjg
4506 days ago
|
|
if you are using Ruby for any performance sensitive task, you are doing it wrong. Really. Even the die hard fans acknowledge they use it for the meta-magic-shiny-shiny rather than something that complete a given task in a reasonable timeframe. Ruby is slow. Dynamic languages often are. |
|
I'm not sure that explains the difference between PHP (for example) and Ruby using the same regex.
PHP: 0.07s
Ruby: 114.95s
Java: 0.75s (I expect the majority of this is once off startup time rather than java being slower than PHP once it's "up".)
Dynamic Languages are slow.. But that? That's something completely broken.
Whether or not it's ruby, his build of ruby, a hoax, or something totally unrelated to Ruby that's causing this 1600x slowdown is up for debate though..