Open
Bug 1541208
Opened 7 years ago
Updated 3 years ago
Statically allocate JS static strings
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: mccr8, Unassigned)
References
(Blocks 1 open bug)
Details
The JS engine has some strings it always allocates, in StaticStrings::init(). It would be nice if these could be created at compile time, so that they do not contribute to runtime overhead. Ideally, this could then be extended to jsids used by Gecko, such as those in XPConnect and the DOM bindings PropertyInfo.
Bug 1411469 did the same thing for static atoms in Gecko.
Boris did some kind of measurements last year in bug 1441292 comment 9.
Updated•7 years ago
|
Type: task → enhancement
Updated•7 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•