Accessing a string's character at index allocates a new, single character string. A better (faster) check is to use `charCodeAt` that doesn't trigger allocation. This simple change speeds up the element_text_create benchmark by ~7%. PR Close #32997
$localize
versionedFiles
The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.
License: MIT