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

Issue 9355031: Improve List implementation. (Closed)

Created:
8 years, 10 months ago by ahe
Modified:
8 years, 10 months ago
Reviewers:
ngeoffray, kasperl
CC:
reviews_dartlang.org, karlklose, floitsch, Lasse Reichstein Nielsen
Visibility:
Public.

Description

Improve List implementation. Committed: https://code.google.com/p/dart/source/detail?r=4414

Patch Set 1 #

Total comments: 24

Patch Set 2 : Address review comments #

Patch Set 3 : Rebased and resolved conflicts #

Unified diffs Side-by-side diffs Delta from patch set Stats (+591 lines, -145 lines) Patch
M dart/frog/frog.py View 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/leg/emitter.dart View 1 2 1 chunk +13 lines, -1 line 0 comments Download
M dart/frog/leg/lib/core.dart View 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/leg/lib/coreimpl.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M dart/frog/leg/lib/js_helper.dart View 1 15 chunks +477 lines, -6 lines 0 comments Download
M dart/frog/leg/lib/mock.dart View 1 chunk +0 lines, -7 lines 0 comments Download
M dart/frog/leg/lib/mockimpl.dart View 1 1 chunk +13 lines, -0 lines 0 comments Download
M dart/frog/leg/scanner/scanner.dart View 1 chunk +1 line, -1 line 0 comments Download
M dart/frog/leg/ssa/builder.dart View 1 2 2 chunks +20 lines, -2 lines 0 comments Download
M dart/frog/leg/ssa/codegen.dart View 1 2 2 chunks +16 lines, -2 lines 0 comments Download
M dart/frog/leg/ssa/nodes.dart View 1 1 chunk +2 lines, -1 line 0 comments Download
M dart/frog/tests/leg/src/mock_compiler.dart View 1 chunk +1 line, -0 lines 0 comments Download
M dart/tests/co19/co19-leg.status View 1 2 10 chunks +42 lines, -115 lines 0 comments Download
M dart/tests/corelib/corelib-leg.status View 1 chunk +0 lines, -7 lines 0 comments Download
M dart/tests/language/language-leg.status View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
ahe
8 years, 10 months ago (2012-02-19 22:28:40 UTC) #1
ahe
ping
8 years, 10 months ago (2012-02-20 23:37:38 UTC) #2
kasperl
LGTM. https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/emitter.dart File dart/frog/leg/emitter.dart (right): https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/emitter.dart#newcode336 dart/frog/leg/emitter.dart:336: addInheritFunctionIfNecessary(buffer); Maybe add a comment here that explains ...
8 years, 10 months ago (2012-02-21 07:16:43 UTC) #3
ngeoffray
DBC https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/lib/js_helper.dart File dart/frog/leg/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/lib/js_helper.dart#newcode443 dart/frog/leg/lib/js_helper.dart:443: var iterator = collection.iterator(); Why not using for ...
8 years, 10 months ago (2012-02-21 10:41:45 UTC) #4
ahe
Hi Kasper and Nicolas, Thank you for all your suggestions and comments. Cheers, Peter https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/emitter.dart ...
8 years, 10 months ago (2012-02-21 23:03:25 UTC) #5
ngeoffray
https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/ssa/builder.dart File dart/frog/leg/ssa/builder.dart (right): https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/ssa/builder.dart#newcode1303 dart/frog/leg/ssa/builder.dart:1303: if (methodInterceptionEnabled) { On 2012/02/21 23:03:25, ahe wrote: > ...
8 years, 10 months ago (2012-02-22 08:52:04 UTC) #6
ahe
8 years, 10 months ago (2012-02-22 08:58:30 UTC) #7
https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/ssa/build...
File dart/frog/leg/ssa/builder.dart (right):

https://chromiumcodereview.appspot.com/9355031/diff/1/dart/frog/leg/ssa/build...
dart/frog/leg/ssa/builder.dart:1303: if (methodInterceptionEnabled) {
On 2012/02/22 08:52:04, ngeoffray wrote:
> On 2012/02/21 23:03:25, ahe wrote:
> > On 2012/02/21 10:41:45, ngeoffray wrote:
> > > On 2012/02/21 07:16:43, kasperl wrote:
> > > > Would it make sense to move the methodInterceptionEnabled flag to the
> > > > interceptors object?
> > > 
> > > I decided to put it on the compiler because the interceptors object felt
> like
> > > something that does not have state.
> > 
> > I'll stay out of this discussion. It seems to me that this flag is
temporary.
> 
> Why do you think it's temporary? The flag is for implementing UNINTERCEPTED.

I see. Another reason for me to stay out of this discussion. I only have a
cursory understanding of this code :-)

Powered by Google App Engine
This is Rietveld 408576698