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

Issue 1071573002: Add start/end to Uri.parse, allowing you to parse a substring without creating a new String object. (Closed)

Created:
5 years, 8 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 8 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Add start/end to Uri.parse, allowing you to parse a substring without creating a new String object. R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=44993

Patch Set 1 #

Patch Set 2 : Add test, make it work. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -42 lines) Patch
M sdk/lib/core/uri.dart View 1 14 chunks +37 lines, -27 lines 2 comments Download
M tests/corelib/uri_parse_test.dart View 1 1 chunk +26 lines, -15 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Lasse Reichstein Nielsen
Will add tests too.
5 years, 8 months ago (2015-04-08 13:04:51 UTC) #2
Lasse Reichstein Nielsen
Tests added, ptal.
5 years, 8 months ago (2015-04-09 06:54:47 UTC) #3
Søren Gjesse
lgtm https://codereview.chromium.org/1071573002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (left): https://codereview.chromium.org/1071573002/diff/20001/sdk/lib/core/uri.dart#oldcode379 sdk/lib/core/uri.dart:379: int numberSignIndex = uri.indexOf('#', index + 1); We ...
5 years, 8 months ago (2015-04-09 07:04:42 UTC) #4
Lasse Reichstein Nielsen
https://codereview.chromium.org/1071573002/diff/20001/sdk/lib/core/uri.dart File sdk/lib/core/uri.dart (left): https://codereview.chromium.org/1071573002/diff/20001/sdk/lib/core/uri.dart#oldcode379 sdk/lib/core/uri.dart:379: int numberSignIndex = uri.indexOf('#', index + 1); I actually ...
5 years, 8 months ago (2015-04-09 07:52:03 UTC) #5
Lasse Reichstein Nielsen
5 years, 8 months ago (2015-04-09 08:03:42 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 44993 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698