> >I'd like our beginners to take home the message that you shouldn't
optimize
> >for performance until it's clear you need to.  Otherwise you're just
> >wasting programmer time.  Premature optimization is the root of, etc.
>
> While I agree, it's a good idea to know why things are slow, and why
> things can be improved.  It's also a good idea if the user knows WHY

So, we have the following rules:

#1: Do not worry about speed, memory, etc. unless you have to.
#2: If you have to optimize then profile, don't guess.
#3: Everything else, such as your suggestions.

Reply via email to