Closed Bug 585644 Opened 16 years ago Closed 5 years ago

Optimize with statements where we can

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX
mozilla2.0

People

(Reporter: brendan, Unassigned)

References

()

Details

Let's face it, with is not going away. the 1K JS contest shows why? People can write more concise code than any alternative that uses var g = c.getContext("2d") and then g.foo, g.bar. These hackers know that g won't be mutated. They also know the meaning of every name. We should be able to optimize their code. Presently we deoptimize badly. /be
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.