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

Issue 18057004: Refactored code a bit to improve StringReplace performance (Closed)

Created:
7 years, 5 months ago by weiliang.lin2
Modified:
7 years, 5 months ago
Reviewers:
Benedikt Meurer, Yang
CC:
v8-dev
Visibility:
Public.

Description

Refactored code a bit to improve StringReplace performance 1. Use inline macro to mitigate the side effect emulation overhead 2. Refactor Zone::DeleteAll() to merge two loops together R=bmeurer@chromium.org, yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15522

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -9 lines) Patch
M src/macros.py View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/string.js View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M src/zone.cc View 1 1 chunk +4 lines, -7 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
weiliang.lin2
Hi Yang && bmeurer, Please have a review. 1. Inline ToInteger manually to mitigate the ...
7 years, 5 months ago (2013-07-05 03:12:47 UTC) #1
Benedikt Meurer
LGTM with comment. https://codereview.chromium.org/18057004/diff/1/src/zone.cc File src/zone.cc (right): https://codereview.chromium.org/18057004/diff/1/src/zone.cc#newcode100 src/zone.cc:100: if (!keep && current->size() <= kMaximumKeptSegmentSize) ...
7 years, 5 months ago (2013-07-05 05:50:56 UTC) #2
weiliang.lin2
On 2013/07/05 05:50:56, Benedikt Meurer wrote: > LGTM with comment. > > https://codereview.chromium.org/18057004/diff/1/src/zone.cc > File ...
7 years, 5 months ago (2013-07-05 06:04:18 UTC) #3
Yang
LGTM with a comment. I'll land this once you address the comment. https://codereview.chromium.org/18057004/diff/5001/src/string.js File src/string.js ...
7 years, 5 months ago (2013-07-05 08:10:57 UTC) #4
weiliang.lin2
On 2013/07/05 08:10:57, Yang wrote: > LGTM with a comment. I'll land this once you ...
7 years, 5 months ago (2013-07-05 12:44:33 UTC) #5
Yang
7 years, 5 months ago (2013-07-05 12:57:44 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r15522 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698