DescriptionMake TemplateLiteral hashing algorithm more memory efficient
Previously, a separate string to be hashed (in order to help determine the need to
use a cached Template Call Site) was built up by joining UTF8 spans within a template.
Now, the hash key is generated from the original spans, removing the need to allocate a new
buffer and copy bytes into it.
BUG=
Patch Set 1 #
Total comments: 5
Patch Set 2 : Change assertions in StringHasher extensions, add comment about hash key usage #
Messages
Total messages: 10 (2 generated)
|