Bug 81756

Summary: Web Inspector: HeapSnapshot: make _bfs twice as fast as the old version.
Product: WebKit Reporter: Ilya Tikhonovsky <loislo>
Component: Web Inspector (Deprecated)Assignee: Ilya Tikhonovsky <loislo>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 78411    
Attachments:
Description Flags
Patch yurys: review+

Description Ilya Tikhonovsky 2012-03-21 03:58:50 PDT
%subj%

patch to follow
Comment 1 Ilya Tikhonovsky 2012-03-21 04:03:00 PDT
Created attachment 133005 [details]
Patch
Comment 2 Yury Semikhatsky 2012-03-21 04:09:02 PDT
Comment on attachment 133005 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=133005&action=review

> Source/WebCore/inspector/front-end/HeapSnapshot.js:1023
> +                if (typeof this._distancesToWindow[childNodeIndex] !== "undefined")

if (childNodeIndex in this._distanceToWindow) ?
Comment 3 Ilya Tikhonovsky 2012-03-21 04:29:58 PDT
Committed r111522: <http://trac.webkit.org/changeset/111522>