Bug 102618 - Make convertToLayerCoords iterative, rather than recursive
Summary: Make convertToLayerCoords iterative, rather than recursive
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-11-18 13:07 PST by Simon Fraser (smfr)
Modified: 2012-11-23 09:10 PST (History)
5 users (show)

See Also:


Attachments
Patch (7.50 KB, patch)
2012-11-18 13:09 PST, Simon Fraser (smfr)
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2012-11-18 13:07:44 PST
Make convertToLayerCoords iterative, rather than recursive
Comment 1 Simon Fraser (smfr) 2012-11-18 13:09:26 PST
Created attachment 174855 [details]
Patch
Comment 2 Simon Fraser (smfr) 2012-11-18 13:10:34 PST
This reduced the time in this function from 5% to about 1% when scrolling a large facebook page.
Comment 3 Antti Koivisto 2012-11-18 13:11:26 PST
Comment on attachment 174855 [details]
Patch

r=me
Comment 4 Simon Fraser (smfr) 2012-11-18 13:37:04 PST
<rdar://problem/12726154>
Comment 5 Simon Fraser (smfr) 2012-11-23 09:10:08 PST
http://trac.webkit.org/changeset/135080