Comment #14 on issue 1630 by [email protected]: Compiled raytrace code is very slow
http://code.google.com/p/v8/issues/detail?id=1630

A small case extracted from fasta.js could reproduce this issue.
    var v = Array(52428800);
    var da = 10485760;
    for (var D = 0; D < da; D++)
    {
        v[D] = 0;
    }
Run this snippet, v8 needs 4.2s, but JSC and SpiderMonkey only needs less than 0.5s.

It seems large array is implemented as dictionary in V8 whcih leads to large array access is a dictionary lookup(handled in V8 runtime helpers)

Is there anyone who still looks at this issue?

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to