There's a great advantage to just blindly optimizing (as long as it doesn't severely cost you in terms of clarity or maintainability or simplicity). It lets you stop worrying. It frees up head space. Say you do some really inefficient string class and then you use it all over your code. Every time you use you have to wonder "is this okay? am I getting killed by this inefficient class?" and then you measure it, and no, it's fine. Then a month later you worry again. Then a month later you worry again. It gives you great peace of mind to know that all your base components are great. It lets you worry about the real issue, which is the higher level algorithm. (note that micro-optimizing the higher level algorithm prematurely is just always bad).
Subscribe to:
Post Comments (Atom)
old rants
-
▼
2008
(34)
-
▼
November
(14)
- 11-28-08 - Optimization
- 11-28-08 - Chance of CRC being bad
- 11-26-08 - Oodle
- 11-24-08 - Lua Coroutines
- 11-23-08 - Hashing & Cache Line Size
- 11-22-08 - Rasterization
- 11-21-08 - DXTC Part 4
- 11-21-08 - More Texture Compression Nonsense
- 11-20-08 - DXTC Part 3
- 11-18-08 - DXTC Part 2
- 11-18-08 - DXTC
- 11-11-08 - REYES
- 11-11-08 - Mapped Drives
- 11-03-08 - Curves
-
▼
November
(14)
No comments:
Post a Comment