Optimizations; optimizations everywhere...
Merge pull request #19 from VladVP/master

String function optimizations