Closed Bug 782914 Opened 13 years ago Closed 3 years ago

const variables are much slower than ordinary variables

Categories

(Core :: JavaScript Engine, defect)

16 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: kael, Unassigned)

References

()

Details

(Whiteboard: [js:p3])

Replacing 'var' with 'const' will cause any code that accesses said variable(s) to get slower in SpiderMonkey. In an ideal world, you'd want people to tag their constants with 'const' since it produces more robust code and could potentially enable some cool optimizations.
Whiteboard: [js:p3]
Blocks: 880083
Assignee: general → nobody
QA Whiteboard: qa-not-actionable

In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.

Severity: major → --
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.