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

Issue 1909843002: Pull the 'keyword' property into Token. (Closed)

Created:
4 years, 8 months ago by scheglov
Modified:
4 years, 8 months 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

Pull the 'keyword' property into Token. So, we can use it without casting to KeywordToken. This gives small, but noticable performanace boost, about 4% on hot VM. R=brianwilkerson@google.com BUG= Committed: https://github.com/dart-lang/sdk/commit/305f1f538c7830021ccfebcced52ac186106e7ff

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -95 lines) Patch
M pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart View 1 chunk +9 lines, -12 lines 0 comments Download
M pkg/analysis_server/lib/src/services/correction/assist_internal.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/analysis_server/lib/src/services/correction/fix_internal.dart View 1 chunk +0 lines, -1 line 0 comments Download
M pkg/analysis_server/lib/src/services/correction/util.dart View 2 chunks +5 lines, -9 lines 1 comment Download
M pkg/analyzer/lib/dart/ast/token.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M pkg/analyzer/lib/src/dart/ast/ast.dart View 7 chunks +14 lines, -42 lines 0 comments Download
M pkg/analyzer/lib/src/dart/ast/token.dart View 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/analyzer/lib/src/generated/error_verifier.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/analyzer/lib/src/generated/parser.dart View 4 chunks +7 lines, -12 lines 0 comments Download
M pkg/analyzer/lib/src/generated/resolver.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/analyzer/test/generated/parser_test.dart View 9 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
scheglov
4 years, 8 months ago (2016-04-21 05:39:25 UTC) #1
Brian Wilkerson
Thank you! I've been wanting to do that for a long time. LGTM. https://codereview.chromium.org/1909843002/diff/1/pkg/analysis_server/lib/src/services/correction/util.dart File ...
4 years, 8 months ago (2016-04-21 13:41:37 UTC) #2
scheglov
4 years, 8 months ago (2016-04-21 15:23:52 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
305f1f538c7830021ccfebcced52ac186106e7ff (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698