Bug 81756 - Web Inspector: HeapSnapshot: make _bfs twice as fast as the old version.
Summary: Web Inspector: HeapSnapshot: make _bfs twice as fast as the old version.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Ilya Tikhonovsky
URL:
Keywords:
Depends on:
Blocks: 78411
  Show dependency treegraph
 
Reported: 2012-03-21 03:58 PDT by Ilya Tikhonovsky
Modified: 2012-03-21 06:40 PDT (History)
10 users (show)

See Also:


Attachments
Patch (3.27 KB, patch)
2012-03-21 04:03 PDT, Ilya Tikhonovsky
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>