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

Issue 11348017: Making save a little faster: (Closed)

Created:
8 years, 1 month ago by devoncarew
Modified:
8 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Making save a little faster: -removed an extraneous reconcile (happening on the UI thread) -removed an extraneous notification to the analysis server that the file had changed Committed: https://code.google.com/p/dart/source/detail?r=14363

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -97 lines) Patch
M compiler/java/com/google/dart/compiler/ast/DartBlock.java View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/ast/DartFunction.java View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/ast/DartIdentifier.java View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/ast/DartInvocation.java View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/ast/DartNode.java View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M compiler/java/com/google/dart/compiler/ast/DartSyntheticErrorIdentifier.java View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M compiler/java/com/google/dart/compiler/ast/NodeList.java View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M compiler/java/com/google/dart/compiler/parser/AbstractParser.java View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M compiler/java/com/google/dart/compiler/parser/DartParser.java View 1 2 3 4 chunks +22 lines, -16 lines 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/ClassScope.java View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/resolver/MemberBuilder.java View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java View 1 2 3 3 chunks +5 lines, -3 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/NamedTypeMemberImpl.java View 1 2 3 3 chunks +18 lines, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/operation/DartModelOperation.java View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitDocumentProvider.java View 1 2 3 2 chunks +1 line, -32 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java View 1 2 3 1 chunk +1 line, -11 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/SemanticHighlightingReconciler.java View 1 2 3 7 chunks +89 lines, -19 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
devoncarew
8 years, 1 month ago (2012-10-29 22:56:30 UTC) #1
scheglov
https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java File editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java (left): https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java#oldcode1828 editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java:1828: notifyAnalysisServerAboutFileChange(); We need this notification to let AS know ...
8 years, 1 month ago (2012-10-29 23:06:04 UTC) #2
devoncarew
https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java File editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java (left): https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java#oldcode1828 editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java:1828: notifyAnalysisServerAboutFileChange(); On 2012/10/29 23:06:04, scheglov wrote: > We need ...
8 years, 1 month ago (2012-10-29 23:11:52 UTC) #3
scheglov
https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java File editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java (left): https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java#oldcode1828 editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java:1828: notifyAnalysisServerAboutFileChange(); On 2012/10/29 23:11:52, devoncarew wrote: > On 2012/10/29 ...
8 years, 1 month ago (2012-10-29 23:28:24 UTC) #4
pquitslund
https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java File editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java (left): https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java#oldcode1828 editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java:1828: notifyAnalysisServerAboutFileChange(); On 2012/10/29 23:06:04, scheglov wrote: > We need ...
8 years, 1 month ago (2012-10-30 03:57:45 UTC) #5
scheglov
lgtm https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java File editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java (left): https://chromiumcodereview.appspot.com/11348017/diff/1/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java#oldcode1828 editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/ui/internal/text/editor/CompilationUnitEditor.java:1828: notifyAnalysisServerAboutFileChange(); On 2012/10/30 03:57:45, pquitslund wrote: > On ...
8 years, 1 month ago (2012-10-30 04:20:29 UTC) #6
devoncarew
Adding a few more reviewers; the scope of this CL has creeped up. A straight-line ...
8 years, 1 month ago (2012-10-31 16:41:49 UTC) #7
scheglov
https://chromiumcodereview.appspot.com/11348017/diff/8001/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): https://chromiumcodereview.appspot.com/11348017/diff/8001/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode1739 compiler/java/com/google/dart/compiler/parser/DartParser.java:1739: for (int i = 0, size = parameters.size(); i ...
8 years, 1 month ago (2012-10-31 16:57:25 UTC) #8
devoncarew
https://chromiumcodereview.appspot.com/11348017/diff/8001/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): https://chromiumcodereview.appspot.com/11348017/diff/8001/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode1739 compiler/java/com/google/dart/compiler/parser/DartParser.java:1739: for (int i = 0, size = parameters.size(); i ...
8 years, 1 month ago (2012-10-31 17:51:35 UTC) #9
scheglov
LGTM https://chromiumcodereview.appspot.com/11348017/diff/8001/compiler/java/com/google/dart/compiler/parser/DartParser.java File compiler/java/com/google/dart/compiler/parser/DartParser.java (right): https://chromiumcodereview.appspot.com/11348017/diff/8001/compiler/java/com/google/dart/compiler/parser/DartParser.java#newcode1739 compiler/java/com/google/dart/compiler/parser/DartParser.java:1739: for (int i = 0, size = parameters.size(); ...
8 years, 1 month ago (2012-10-31 18:02:53 UTC) #10
messick
lgtm https://chromiumcodereview.appspot.com/11348017/diff/8001/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java File editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java (right): https://chromiumcodereview.appspot.com/11348017/diff/8001/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java#newcode461 editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java:461: return getElementName().hashCode() * 17 + parent.hashCode(); Have you ...
8 years, 1 month ago (2012-10-31 18:13:26 UTC) #11
pquitslund
lgtm
8 years, 1 month ago (2012-10-31 18:16:55 UTC) #12
devoncarew
https://chromiumcodereview.appspot.com/11348017/diff/8001/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java File editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java (right): https://chromiumcodereview.appspot.com/11348017/diff/8001/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java#newcode461 editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/model/DartElementImpl.java:461: return getElementName().hashCode() * 17 + parent.hashCode(); On 2012/10/31 18:13:26, ...
8 years, 1 month ago (2012-10-31 18:22:22 UTC) #13
danrubel
8 years, 1 month ago (2012-10-31 18:40:50 UTC) #14
Per our conversation, LGTM

Powered by Google App Engine
This is Rietveld 408576698