WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203696
[JSC] Make String#localeCompare faster by inlining JSGlobalObject::defaultCollator
https://bugs.webkit.org/show_bug.cgi?id=203696
Summary
[JSC] Make String#localeCompare faster by inlining JSGlobalObject::defaultCol...
Yusuke Suzuki
Reported
2019-10-31 13:46:09 PDT
[JSC] Make String#localeCompare faster by inlining JSGlobalObject::defaultCollator
Attachments
Patch
(8.60 KB, patch)
2019-10-31 13:47 PDT
,
Yusuke Suzuki
mark.lam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2019-10-31 13:47:12 PDT
Created
attachment 382497
[details]
Patch
Mark Lam
Comment 2
2019-10-31 14:00:48 PDT
Comment on
attachment 382497
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=382497&action=review
r=me with fix and if EWS bots are green.
> Source/JavaScriptCore/runtime/JSGlobalObject.cpp:903 > + scope.assertNoException();
Since you're expecting no exception, use DECLARE_CATCH_SCOPE instead of DECLARE_THROW_SCOPE? Might as well make this a releaseAssertNoException() too.
Yusuke Suzuki
Comment 3
2019-10-31 14:01:35 PDT
Comment on
attachment 382497
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=382497&action=review
>> Source/JavaScriptCore/runtime/JSGlobalObject.cpp:903 >> + scope.assertNoException(); > > Since you're expecting no exception, use DECLARE_CATCH_SCOPE instead of DECLARE_THROW_SCOPE? Might as well make this a releaseAssertNoException() too.
Sounds nice. Fixed.
Yusuke Suzuki
Comment 4
2019-10-31 14:53:23 PDT
Committed
r251882
: <
https://trac.webkit.org/changeset/251882
>
Radar WebKit Bug Importer
Comment 5
2019-10-31 14:54:16 PDT
<
rdar://problem/56796383
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug