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

Issue 2707003002: fasta: Use a slightly more efficient implementation for the [StackListener]s stack (Closed)

Created:
3 years, 10 months ago by kustermann
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fasta: Use a slightly more efficient implementation for the [StackListener]s stack R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/fd6ebf7761f891ac4b2fbf14b05f6119f7454529

Patch Set 1 #

Total comments: 7

Patch Set 2 : remove usage of library privacy #

Patch Set 3 : remove unused import #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -20 lines) Patch
M pkg/front_end/lib/src/fasta/source/stack_listener.dart View 1 2 8 chunks +65 lines, -20 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
kustermann
https://codereview.chromium.org/2707003002/diff/1/pkg/front_end/lib/src/fasta/source/stack_listener.dart File pkg/front_end/lib/src/fasta/source/stack_listener.dart (left): https://codereview.chromium.org/2707003002/diff/1/pkg/front_end/lib/src/fasta/source/stack_listener.dart#oldcode91 pkg/front_end/lib/src/fasta/source/stack_listener.dart:91: } It's more efficient to implement stack.popList() directly instead ...
3 years, 10 months ago (2017-02-21 13:29:09 UTC) #2
ahe
lgtm https://codereview.chromium.org/2707003002/diff/1/pkg/front_end/lib/src/fasta/source/stack_listener.dart File pkg/front_end/lib/src/fasta/source/stack_listener.dart (right): https://codereview.chromium.org/2707003002/diff/1/pkg/front_end/lib/src/fasta/source/stack_listener.dart#newcode234 pkg/front_end/lib/src/fasta/source/stack_listener.dart:234: class _Stack<E> { Please don't use privacy. https://codereview.chromium.org/2707003002/diff/1/pkg/front_end/lib/src/fasta/source/stack_listener.dart#newcode234 ...
3 years, 10 months ago (2017-02-21 14:24:35 UTC) #3
ahe
And thank you once again!!!
3 years, 10 months ago (2017-02-21 14:30:31 UTC) #4
kustermann
Thanks. https://codereview.chromium.org/2707003002/diff/1/pkg/front_end/lib/src/fasta/source/stack_listener.dart File pkg/front_end/lib/src/fasta/source/stack_listener.dart (right): https://codereview.chromium.org/2707003002/diff/1/pkg/front_end/lib/src/fasta/source/stack_listener.dart#newcode234 pkg/front_end/lib/src/fasta/source/stack_listener.dart:234: class _Stack<E> { On 2017/02/21 14:24:34, ahe wrote: ...
3 years, 10 months ago (2017-02-22 13:59:37 UTC) #5
kustermann
3 years, 10 months ago (2017-02-22 14:17:37 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
fd6ebf7761f891ac4b2fbf14b05f6119f7454529 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698