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 7521: Make one-ascii-character-string a symbol in its cache. (Closed)

Created:
12 years, 2 months ago by Feng Qian
Modified:
9 years, 7 months ago
Reviewers:
iposva
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make one-ascii-character-string a symbol in its cache. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=539

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M src/heap.cc View 1 chunk +7 lines, -3 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
Feng Qian
12 years, 2 months ago (2008-10-20 17:45:19 UTC) #1
iposva
LGTM -Ivan http://codereview.chromium.org/7521/diff/1/2 File src/heap.cc (right): http://codereview.chromium.org/7521/diff/1/2#newcode1505 Line 1505: Object* result = Heap::AllocateRawTwoByteString(1); Is there ...
12 years, 2 months ago (2008-10-21 04:33:46 UTC) #2
Feng Qian
12 years, 2 months ago (2008-10-21 16:27:11 UTC) #3
http://codereview.chromium.org/7521/diff/1/2
File src/heap.cc (right):

http://codereview.chromium.org/7521/diff/1/2#newcode1505
Line 1505: Object* result = Heap::AllocateRawTwoByteString(1);
I viewed single_character_string_cache is a cache on top of symbol table, and
two-byte chars are not cached, so I didn't feel strongly to symbolize it.

On 2008/10/21 04:33:46, iposva wrote:
> Is there a reason we do not symbolize one character two byte strings? Just no
> frequent enough?

Powered by Google App Engine
This is Rietveld 408576698