Open
Bug 1088189
Opened 10 years ago
Updated 6 months ago
Improve performance of array natives for very sparse arrays
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: jandem, Unassigned)
References
(Depends on 3 open bugs, Blocks 1 open bug)
Details
See bug 1087963 and bug 1045391 for two bugs filed on this very recently. Fixing this can dramatically improve performance (bug 1087963 has some numbers). V8 has special sparse-array paths for a lot of those natives and apparently IE is also fast (slice at least). It will add some complexity, but with the right abstractions we can probably do this without duplicating too much code. The least we should do is instrument the browser and see how often this hits in practice.
Reporter | ||
Updated•10 years ago
|
Reporter | ||
Comment 1•10 years ago
|
||
Another approach is speeding up the current GetElement code path. It won't be as fast but there are probably some easy wins there.
Updated•2 years ago
|
Severity: normal → S3
Comment 3•6 months ago
|
||
This sounds like this would still be a valid improvement.
You need to log in
before you can comment on or make changes to this bug.
Description
•