WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
73564
CSSMutableStyleDeclaration: Unnecessary double hash lookup in construction.
https://bugs.webkit.org/show_bug.cgi?id=73564
Summary
CSSMutableStyleDeclaration: Unnecessary double hash lookup in construction.
Andreas Kling
Reported
2011-12-01 08:08:37 PST
In this constructor: - CSSMutableStyleDeclaration(CSSRule* parent, const CSSProperty* const * properties, int numProperties) We do a hash lookup using contains(), followed by a get() if contains() returns true. This should be done with a single lookup.
Attachments
Patch
(1.65 KB, patch)
2011-12-01 08:16 PST
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2011-12-01 08:16:39 PST
Created
attachment 117424
[details]
Patch
Antti Koivisto
Comment 2
2011-12-01 10:54:41 PST
Comment on
attachment 117424
[details]
Patch r=me
WebKit Review Bot
Comment 3
2011-12-01 12:04:42 PST
Comment on
attachment 117424
[details]
Patch Clearing flags on attachment: 117424 Committed
r101697
: <
http://trac.webkit.org/changeset/101697
>
WebKit Review Bot
Comment 4
2011-12-01 12:04:47 PST
All reviewed patches have been landed. Closing bug.
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