Yes, I have found 99% of my speed increases from good database indexing and using hashtables to store data you need more than once.
-----