Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Use Vector::reserveInitialCapacity and Vector::uncheckedAppend for JS…
…C's APIs https://bugs.webkit.org/show_bug.cgi?id=113651 Reviewed by Andreas Kling. This removes a bunch of branches on initialization and when filling the vector. * API/JSCallbackConstructor.cpp: (JSC::constructJSCallback): * API/JSCallbackFunction.cpp: (JSC::JSCallbackFunction::call): * API/JSCallbackObjectFunctions.h: (JSC::::construct): (JSC::::call): * API/JSObjectRef.cpp: (JSObjectCopyPropertyNames): Canonical link: https://commits.webkit.org/132036@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@147349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
fec1934
commit 23df0dca6dac234f02145383fd746cf906f05181
Showing
5 changed files
with
41 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters