DescriptionAdded a EvalCache that caches eval'ed scripts and compiled function boilerplate.
The cache is a hashtable that takes String as key and JSFunction as the value.
Caches are cleared before mark-compact GC's.
Currently I don't put caps on cache size, string size, etc.
This cuts date-parse-totfe.js runtime by half.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=173
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|