Aaron Sherman writes: > > Ever since I stopped caring about speed, I've started to write code > > almost twice as fast. And the code itself isn't slower. > > Ok, so let's separate the premature optimization from removing massive > bottlenecks from code. When I can get a reporting program that takes > 30-60 minutes to run to drop 10 minutes in execution time, I'm going to > do that. This is NOT premature optimization.
Oh. Wow. That's, er, significant. I came into Perl right at the beginning of 5.6.0, so I can't say anything about this history. I couldn't imagine that a variable indirection could add that much to a segment of code. But if you say so... I retract my comment. Well, no I don't. I retract the fact that my comment was directed at you. There's still a lot of premature optimization going on[1]. Luke [1] I'm surely guilty of one of them. I feel like the autothreading semantics of junctions will be way to expensive without the compiler knowing whether there a junction in a particular variable. But I have nothing to back that fear up, it was just a gut reaction. And I fought pretty hard....