Merge pull request #19 from VladVP/master

String function optimizations
further merged optimizations, added labels
Merge pull request #20 from bungao/master

further merged optimizations, added labels