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

Issue 135533002: [Core] Optimize List (Closed)

Created:
6 years, 11 months ago by vicb
Modified:
6 years, 10 months ago
CC:
reviews_dartlang.org, Søren Gjesse
Visibility:
Public.

Description

[Core] Optimize List No need to check changes where the list could not change BUG= R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=32425

Patch Set 1 #

Total comments: 7

Patch Set 2 : integrate feedback #

Total comments: 2

Patch Set 3 : integrate feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -27 lines) Patch
M sdk/lib/collection/list.dart View 1 2 2 chunks +4 lines, -27 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
vicb
6 years, 11 months ago (2014-01-11 15:39:49 UTC) #1
messick
6 years, 11 months ago (2014-01-21 17:38:22 UTC) #2
vicb
Could someone tell me if there is a way to sell pending CLs related to ...
6 years, 10 months ago (2014-02-03 07:55:58 UTC) #3
Søren Gjesse
Lasse, could you take a look at this?
6 years, 10 months ago (2014-02-03 08:28:39 UTC) #4
vicb
Thanks Søren. My previous message should read "to see" rather than "to sell" ! (I ...
6 years, 10 months ago (2014-02-03 08:35:30 UTC) #5
Lasse Reichstein Nielsen
LGTM on the join change, no-go on the contains change. https://codereview.chromium.org/135533002/diff/1/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/135533002/diff/1/sdk/lib/collection/list.dart#newcode84 ...
6 years, 10 months ago (2014-02-03 13:27:44 UTC) #6
vicb
Thanks for the review. It actually made of think about using 'assert's to make the ...
6 years, 10 months ago (2014-02-03 13:38:30 UTC) #7
Lasse Reichstein Nielsen
https://codereview.chromium.org/135533002/diff/1/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/135533002/diff/1/sdk/lib/collection/list.dart#newcode84 sdk/lib/collection/list.dart:84: if (this[i] == element) return true; Pretty unusual, hopefully. ...
6 years, 10 months ago (2014-02-04 12:31:59 UTC) #8
vicb
Lasse, I'll make the required modifs later today. https://codereview.chromium.org/135533002/diff/1/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/135533002/diff/1/sdk/lib/collection/list.dart#newcode84 sdk/lib/collection/list.dart:84: if ...
6 years, 10 months ago (2014-02-04 13:00:31 UTC) #9
vicb
I've reverted the incorrect hunk.
6 years, 10 months ago (2014-02-04 20:23:26 UTC) #10
Lasse Reichstein Nielsen
LGTM https://codereview.chromium.org/135533002/diff/120001/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/135533002/diff/120001/sdk/lib/collection/list.dart#newcode165 sdk/lib/collection/list.dart:165: if (separator.isEmpty) { Just checked the StringBuffer code: ...
6 years, 10 months ago (2014-02-05 10:41:00 UTC) #11
vicb
latest feedback has been integrated https://codereview.chromium.org/135533002/diff/120001/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/135533002/diff/120001/sdk/lib/collection/list.dart#newcode165 sdk/lib/collection/list.dart:165: if (separator.isEmpty) { Indeed. ...
6 years, 10 months ago (2014-02-06 12:42:22 UTC) #12
Lasse Reichstein Nielsen
Excellent. I plan on landing this tomorrow.
6 years, 10 months ago (2014-02-06 15:25:12 UTC) #13
Lasse Reichstein Nielsen
6 years, 10 months ago (2014-02-07 14:00:31 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 manually as r32425 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698