WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
241391
WebCore::Color::operator= could be cheaper
https://bugs.webkit.org/show_bug.cgi?id=241391
Summary
WebCore::Color::operator= could be cheaper
Cameron McCormack (:heycam)
Reported
2022-06-07 17:08:24 PDT
Currently Color::operator= checks for full equality of the two Color objects before proceeding to do the assignment. We really only need to check that the deref/ref sequence of an out-of-line component is safe.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-06-07 17:08:31 PDT
<
rdar://problem/94582055
>
Cameron McCormack (:heycam)
Comment 2
2022-06-17 22:26:40 PDT
This was a regression on the benchmark I was targeting.
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