optimize: reduce strlen
Merge pull request #89 from cubicdaiya/feature/optim_strlen

optimize: reduce strlen