Here's a priority list that you should typically follow for making anything. 1. Make it work. 2. Make it not break. 3. Make it fast. That's it really. Until the performance of something is blocking what you need to do somewhere else leave it the hell alone.
4. Make it manageable.
1. Make it work.
2. Make it not break.
3. Make it manageable.
4. Make it fast.
Otherwise I find that trying to make something fast before making it manageable usually ends up in crazy hacks that are hard to undo later.