-
https://webkit.org/b/119875psolanki@apple.com authored
<https://webkit.org/b/119875> localeToScriptCodeForFontSelection should use hash tables with larger default capacity Reviewed by Darin Adler. The two static hash tables used in this file have 106 and 198 entries. Set a minimumTableSize for these hash tables so we don't have to expand them during initialization. No new tests because no functional changes. * platform/text/LocaleToScriptMappingDefault.cpp: (WebCore::scriptNameToCode): (WebCore::localeToScriptCodeForFontSelection): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
6bd8bfa8