Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up to 270645@main to address review feedback
https://bugs.webkit.org/show_bug.cgi?id=264759 Reviewed by Darin Adler. Follow-up to 270645@main to address review feedback from Darin. Use Vector constructor / WTF::map() when possible instead of an append*() function. There are a couple of cases in 270645@main where I keep using append*() even though they were calling reserveInitialCapacity() before because the vectors in question have an inline buffer and doing a Vector move assignment may end up having to copy the values in the inline buffers over. * Source/JavaScriptCore/runtime/IntlObject.cpp: (JSC::intlAvailableCalendars): * Source/JavaScriptCore/yarr/YarrPattern.cpp: (JSC::Yarr::YarrPatternConstructor::copyDisjunction): Canonical link: https://commits.webkit.org/270679@main
- Loading branch information