"premature optimization is the root of all evil"The key is premature optimization. You can easily spend lots of time and money optimizing code that has no bearing whatsoever on the actual performance of your program! For example, i/o might take 2 minutes, and sorting the data takes 1 millisecond. Who cares if a different sorting algorithm will cut the sort time in half - optimize the i/o and forget about the sort. Profile your program, then optimize the bottlenecks.
That being said, pointless optimization of a problem to see who comes up with the fastest algorithm, that sounds like fun and a great way to learn a little more about the language!
In reply to Re: Golfing and Sprinting
by bmann
in thread Golfing and Sprinting
by kvale
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |