String performance improvements