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

Issue 853613003: Optimize creation of ASCII strings in UTF-8 JSON parser. (Closed)

Created:
5 years, 11 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 11 months ago
Reviewers:
kustermann
CC:
reviews_dartlang.org, vm-dev_dartlang.org, siva
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Optimize creation of ASCII strings in UTF-8 JSON parser. Recognize that the string is ASCII only during scanning, and just use String.fromCharCodes directly, instead of interpreting as UTF-8 first. R=kustermann@google.com Committed: https://code.google.com/p/dart/source/detail?r=42857

Patch Set 1 #

Patch Set 2 : Address comment. #

Patch Set 3 : Address comment. More documentation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -13 lines) Patch
M runtime/lib/convert_patch.dart View 1 9 chunks +22 lines, -13 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
Lasse Reichstein Nielsen
5 years, 11 months ago (2015-01-14 10:15:37 UTC) #2
kustermann
LGTM with the lieterals change :)
5 years, 11 months ago (2015-01-14 10:21:36 UTC) #3
Lasse Reichstein Nielsen
5 years, 11 months ago (2015-01-14 10:23:14 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 42857 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698