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

Issue 689513002: Rewrite the pkg/yaml parser. (Closed)

Created:
6 years, 1 month ago by nweiz
Modified:
6 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Rewrite the pkg/yaml parser. This increases the speed by about 10x. It also adds a number of new featurse. BUG=21317, 20859 R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=41649

Patch Set 1 #

Patch Set 2 : Update string_scanner dependency. #

Total comments: 109

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3554 lines, -2643 lines) Patch
M pkg/string_scanner/CHANGELOG.md View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/string_scanner/lib/src/string_scanner.dart View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M pkg/string_scanner/pubspec.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/string_scanner/test/string_scanner_test.dart View 1 2 3 chunks +28 lines, -0 lines 0 comments Download
M pkg/yaml/CHANGELOG.md View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
D pkg/yaml/lib/src/composer.dart View 1 chunk +0 lines, -183 lines 0 comments Download
D pkg/yaml/lib/src/constructor.dart View 1 chunk +0 lines, -76 lines 0 comments Download
A pkg/yaml/lib/src/event.dart View 1 2 1 chunk +157 lines, -0 lines 0 comments Download
A pkg/yaml/lib/src/loader.dart View 1 2 1 chunk +257 lines, -0 lines 0 comments Download
D pkg/yaml/lib/src/model.dart View 1 chunk +0 lines, -259 lines 0 comments Download
M pkg/yaml/lib/src/parser.dart View 1 2 1 chunk +669 lines, -1752 lines 0 comments Download
A pkg/yaml/lib/src/scanner.dart View 1 2 1 chunk +1663 lines, -0 lines 0 comments Download
A pkg/yaml/lib/src/style.dart View 1 chunk +73 lines, -0 lines 0 comments Download
A pkg/yaml/lib/src/token.dart View 1 2 1 chunk +148 lines, -0 lines 0 comments Download
M pkg/yaml/lib/src/utils.dart View 1 2 2 chunks +29 lines, -0 lines 0 comments Download
D pkg/yaml/lib/src/visitor.dart View 1 chunk +0 lines, -30 lines 0 comments Download
A pkg/yaml/lib/src/yaml_document.dart View 1 chunk +67 lines, -0 lines 0 comments Download
M pkg/yaml/lib/src/yaml_node.dart View 9 chunks +34 lines, -13 lines 0 comments Download
M pkg/yaml/lib/src/yaml_node_wrapper.dart View 4 chunks +8 lines, -3 lines 0 comments Download
M pkg/yaml/lib/yaml.dart View 1 2 3 chunks +57 lines, -21 lines 0 comments Download
A + pkg/yaml/libyaml-license.txt View 1 chunk +11 lines, -11 lines 0 comments Download
M pkg/yaml/pubspec.yaml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/yaml/test/yaml_test.dart View 11 chunks +319 lines, -292 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
nweiz
Ignore the pkg/collection changes, they're from a precursor CL.
6 years, 1 month ago (2014-10-29 00:56:03 UTC) #2
Bob Nystrom
https://codereview.chromium.org/689513002/diff/20001/pkg/yaml/lib/src/event.dart File pkg/yaml/lib/src/event.dart (right): https://codereview.chromium.org/689513002/diff/20001/pkg/yaml/lib/src/event.dart#newcode27 pkg/yaml/lib/src/event.dart:27: final type = EventType.DOCUMENT_START; It's more efficient to use ...
6 years, 1 month ago (2014-10-31 20:03:30 UTC) #3
nweiz
Code review changes
6 years, 1 month ago (2014-11-04 01:43:37 UTC) #4
nweiz
+sethladd +kevmoo to make sure I'm doing the right thing with the license here. https://codereview.chromium.org/689513002/diff/20001/pkg/yaml/lib/src/event.dart ...
6 years, 1 month ago (2014-11-04 22:19:38 UTC) #6
sethladd
I wish I could help, but I would start by asking oss-discuss@google.com.
6 years, 1 month ago (2014-11-04 22:32:31 UTC) #7
Bob Nystrom
LGTM. Really nice!
6 years, 1 month ago (2014-11-04 23:15:53 UTC) #8
nweiz
6 years, 1 month ago (2014-11-10 21:49:48 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 41649 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698