No. Only use index where the code is clearer or there is a clear and necessary speed advantage.
In other words: in general write for clarity (and thus correctness and maintainability) first. If speed is an issue focus on the bang for buck areas of the code using profiling and address bottle necks as they become apparent and significant.
In reply to Re^3: how to find this substring?
by GrandFather
in thread how to find this substring?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |