WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 46045
Gradient: Fast-path for the ideal case in sortStopsIfNecessary()
https://bugs.webkit.org/show_bug.cgi?id=46045
Summary
Gradient: Fast-path for the ideal case in sortStopsIfNecessary()
Andreas Kling
Reported
2010-09-18 17:43:09 PDT
If the gradient has 2 stops and is already ordered, there's no need to call std::stable_sort. This yields a 0.3% speedup on Parcycle <
http://www.mrspeaker.net/dev/parcycle/
> Note: Only relevant for Qt and CG.
Attachments
Proposed patch
(1.48 KB, patch)
2010-09-18 17:45 PDT
,
Andreas Kling
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2010-09-18 17:45:04 PDT
Created
attachment 68020
[details]
Proposed patch
Oliver Hunt
Comment 2
2010-09-18 17:48:35 PDT
Comment on
attachment 68020
[details]
Proposed patch r=me
Andreas Kling
Comment 3
2010-09-18 17:52:09 PDT
Comment on
attachment 68020
[details]
Proposed patch Clearing flags on attachment: 68020 Committed
r67804
: <
http://trac.webkit.org/changeset/67804
>
Andreas Kling
Comment 4
2010-09-18 17:52:19 PDT
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