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

Issue 2757603005: use js_ast to more efficiently turn the JSON into a string. (Closed)

Created:
3 years, 9 months ago by Jacob
Modified:
3 years, 9 months ago
Reviewers:
Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

use js_ast to more efficiently turn the JSON into a string. js_ast will notice the string only contains double quotes so will enclose it with single quotes. Parsing a string appears to be a bit more efficient than parsing JSON. BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/00dd9f26a62d9965f15a326f9b86cb57a9759219

Patch Set 1 #

Patch Set 2 : use js_ast to more efficiently turn the JSON into a string. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M pkg/dev_compiler/lib/src/compiler/compiler.dart View 1 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Jacob
3 years, 9 months ago (2017-03-17 01:18:20 UTC) #2
Jennifer Messerly
lgtm!
3 years, 9 months ago (2017-03-17 01:27:35 UTC) #3
Jacob
3 years, 9 months ago (2017-03-17 15:17:55 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:10001) manually as
00dd9f26a62d9965f15a326f9b86cb57a9759219 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698