Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Issue 1444983002: Optimize 'isWithin'. (Closed)

Created:
5 years, 1 month ago by scheglov
Modified:
5 years, 1 month ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimize 'isWithin'. Its "in stack" percent is down from 2.82% to 0.16% now. This makes total MDL project analysis about 3% faster. Also exchange the 'suffix' arguments to make them consistent with the parent/child order everywhere else. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/9b7e011920ff2bd61066f2af99d4601d5220a63d

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -12 lines) Patch
M pkg/analysis_server/lib/src/context_manager.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/util/absolute_path.dart View 3 chunks +35 lines, -5 lines 0 comments Download
M pkg/analyzer/test/src/util/absolute_path_test.dart View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
scheglov
5 years, 1 month ago (2015-11-15 21:21:01 UTC) #1
Brian Wilkerson
LGTM
5 years, 1 month ago (2015-11-15 21:55:11 UTC) #2
scheglov
5 years, 1 month ago (2015-11-16 16:45:31 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
9b7e011920ff2bd61066f2af99d4601d5220a63d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698