mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

In `NewMaybeExternalString` we have a fast path for short Latin1 strings. This case is very common. Changing the cache to handle these too is very effective: the `lookupInline` method has a hit rate of at least 90% on Speedometer 3. Differential Revision: https://phabricator.services.mozilla.com/D190206