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

Issue 9536018: Faster WriteUtf8 for medium size strings?

Created:
8 years, 9 months ago by Erik Corry
Modified:
8 years, 9 months ago
Reviewers:
piscisaureus
CC:
v8-dev
Visibility:
Public.

Description

Faster WriteUtf8 for medium size strings?

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -1 line) Patch
M src/api.cc View 2 chunks +15 lines, -1 line 0 comments Download
M src/objects.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/objects.cc View 1 chunk +60 lines, -0 lines 4 comments Download

Messages

Total messages: 4 (0 generated)
piscisaureus
It seems to break String::Utf8Value so I was unable to test it.
8 years, 9 months ago (2012-02-29 18:04:46 UTC) #1
Erik Corry
On 2012/02/29 18:04:46, piscisaureus wrote: > It seems to break String::Utf8Value so I was unable ...
8 years, 9 months ago (2012-03-01 08:33:40 UTC) #2
piscisaureus
https://chromiumcodereview.appspot.com/9536018/diff/4001/src/objects.cc File src/objects.cc (right): https://chromiumcodereview.appspot.com/9536018/diff/4001/src/objects.cc#newcode6123 src/objects.cc:6123: buffer, start - boundary, end - boundary); `start - ...
8 years, 9 months ago (2012-03-01 14:21:18 UTC) #3
piscisaureus
8 years, 9 months ago (2012-03-01 14:54:28 UTC) #4
https://chromiumcodereview.appspot.com/9536018/diff/4001/src/objects.cc
File src/objects.cc (right):

https://chromiumcodereview.appspot.com/9536018/diff/4001/src/objects.cc#newco...
src/objects.cc:6123: buffer, start - boundary, end - boundary);
Never mind, this is correct.

https://chromiumcodereview.appspot.com/9536018/diff/4001/src/objects.cc#newco...
src/objects.cc:6127: buffer, start - boundary, end - boundary);
This should read:
`return first->RecursivelySerializeToUtf8(buffer, start, boundary);`

Powered by Google App Engine
This is Rietveld 408576698