9f0c549bc8
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 |
||
---|---|---|
.. | ||
BUILD.bazel | ||
OUTSTANDING_WORK.md | ||
base.css | ||
bundle.golden_symbols.json | ||
index.html | ||
index.ts | ||
todo.css | ||
todo_e2e_spec.ts |