Added performance improvement ideas

Removed and added some comments instead of implementing them. Gives people some ideas on how to further save memory etc. if they have such needs and don't mind the additional cpu time.