simple string performance improvements