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

Issue 1329763002: Don't use regular expressions in Loader. (Closed)

Created:
5 years, 3 months ago by nweiz
Modified:
5 years, 3 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/yaml@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Don't use regular expressions in Loader. This is based on https://codereview.chromium.org/1325053002. It also avoids redundant parsing where possible. Closes #12 R=rnystrom@google.com Committed: https://github.com/dart-lang/yaml/commit/445e54eeed61e281968a33f10e6781914c533be5

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -92 lines) Patch
M CHANGELOG.md View 1 chunk +4 lines, -0 lines 0 comments Download
M lib/src/loader.dart View 4 chunks +167 lines, -86 lines 0 comments Download
M lib/src/yaml_node.dart View 2 chunks +9 lines, -1 line 0 comments Download
M lib/src/yaml_node_wrapper.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M lib/yaml.dart View 1 chunk +1 line, -1 line 0 comments Download
M pubspec.yaml View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
nweiz
5 years, 3 months ago (2015-09-02 22:49:19 UTC) #1
Bob Nystrom
https://codereview.chromium.org/1329763002/diff/1/lib/src/scanner.dart File lib/src/scanner.dart (right): https://codereview.chromium.org/1329763002/diff/1/lib/src/scanner.dart#newcode295 lib/src/scanner.dart:295: : _scanner = new SpanScanner(source, sourceUrl: sourceUrl); Do you ...
5 years, 3 months ago (2015-09-02 23:13:14 UTC) #2
nweiz
Code review changes
5 years, 3 months ago (2015-09-02 23:37:56 UTC) #3
nweiz
https://codereview.chromium.org/1329763002/diff/1/lib/src/scanner.dart File lib/src/scanner.dart (right): https://codereview.chromium.org/1329763002/diff/1/lib/src/scanner.dart#newcode295 lib/src/scanner.dart:295: : _scanner = new SpanScanner(source, sourceUrl: sourceUrl); On 2015/09/02 ...
5 years, 3 months ago (2015-09-02 23:38:00 UTC) #4
Bob Nystrom
lgtm
5 years, 3 months ago (2015-09-03 00:49:57 UTC) #5
nweiz
5 years, 3 months ago (2015-09-03 01:02:07 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
445e54eeed61e281968a33f10e6781914c533be5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698