Improve string processing speed.