in reply to Re^9: How to speed up a nested loop?
in thread How to speed up a nested loop?
In languages like C this kind of optimization is meaningless because the compiler is smart enough to know when to do it for you. But Perl has to make a trade-off between compiling well and runtime performance, so doesn't make this trade-off.
If Perl had a JIT compiler then this would go away as well. The Parrot folks have promised a JIT compiler for Perl 6, but I've stopped holding my breath on waiting for that to happen.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: How to speed up a nested loop?
by Xenofur (Monk) on Sep 21, 2008 at 09:39 UTC | |
by tilly (Archbishop) on Sep 23, 2008 at 05:40 UTC |