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

Issue 5551002: Simplify JSON stringify and add special case for default replacer and space. (Closed)

Created:
10 years ago by sandholm
Modified:
9 years, 7 months ago
Reviewers:
William Hesse
CC:
v8-dev, Lasse Reichstein
Visibility:
Public.

Description

Simplify JSON stringify and add special case for default replacer and space.

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -24 lines) Patch
M src/json.js View 1 6 chunks +73 lines, -12 lines 0 comments Download
M src/runtime.cc View 1 3 chunks +15 lines, -12 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sandholm
10 years ago (2010-12-02 11:23:13 UTC) #1
William Hesse
LGTM, with my comments about putting more of the string concatenations in the Array.join, with ...
10 years ago (2010-12-02 16:12:22 UTC) #2
sandholm
10 years ago (2010-12-03 11:11:32 UTC) #3
On 2010/12/02 16:12:22, William Hesse wrote:
> LGTM, with my comments about putting more of the string concatenations in the
> Array.join, with an empty separator.

I tried that. It was slower, unfortunately.

Powered by Google App Engine
This is Rietveld 408576698