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

Issue 164396: Move some arrays into functions so they don't get cloned on each new context. (Closed)

Created:
11 years, 4 months ago by Erik Corry
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Move some arrays into functions so they don't get cloned on each new context. Committed: http://code.google.com/p/v8/source/detail?r=2672

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -72 lines) Patch
M src/messages.js View 2 chunks +70 lines, -67 lines 1 comment Download
M src/uri.js View 3 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Erik Corry
11 years, 4 months ago (2009-08-12 13:40:22 UTC) #1
Mads Ager (chromium)
11 years, 4 months ago (2009-08-12 13:44:47 UTC) #2
LGTM

http://codereview.chromium.org/164396/diff/1/2
File src/messages.js (right):

http://codereview.chromium.org/164396/diff/1/2#newcode36
Line 36: var vowel_mapping = {a: true, e: true, i: true, o: true, u: true, y:
true};
Should we do lazy initialization of these instead as you do for kMessages?

Powered by Google App Engine
This is Rietveld 408576698