Added 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. Review URL: http://codereview.chromium.org/457 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@173 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment