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

Issue 126189: Implemented fast case for NumberToString where the result is a single charact... (Closed)

Created:
11 years, 6 months ago by bak
Modified:
9 years, 7 months ago
Reviewers:
Kasper Lund, kasperl
CC:
v8-dev
Visibility:
Public.

Description

Implemented fast case for NumberToString where the result is a single character string. Committed: http://code.google.com/p/v8/source/detail?r=2175

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M src/runtime.cc View 1 chunk +13 lines, -0 lines 2 comments Download

Messages

Total messages: 2 (0 generated)
bak
11 years, 6 months ago (2009-06-16 06:39:07 UTC) #1
Kasper Lund
11 years, 6 months ago (2009-06-16 06:41:18 UTC) #2
LGTM!

http://codereview.chromium.org/126189/diff/1/2
File src/runtime.cc (right):

http://codereview.chromium.org/126189/diff/1/2#newcode2419
Line 2419: // Fast case where the result is a one char string.
char -> character

http://codereview.chromium.org/126189/diff/1/2#newcode2426
Line 2426: static const char chars[] = "0123456789abcdefghijklmnopqrstuvwxyz";
Should be something like kChars or kCharsMap, right?

Powered by Google App Engine
This is Rietveld 408576698