I guess the trick might be "always profile, because performance bottlenecks might not be where you expect".