Closed Bug 883669 Opened 12 years ago Closed 12 years ago

Compiler: optimize fast path for strings in hashes

Categories

(L20n :: JS Library, defect, P4)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Unassigned)

References

Details

Similar to what we did in bug 817610 for entities' values, we could optimize the access to hash members which are not complex strings. The AST checks isNotComplex for all strings, no matter where they are, so this change affects only the compiler. <foo { bar: "Bar", <-- this can be optimized b/c isNotComplex is true baz: "{{ quux}}" }>
Priority: -- → P4
Target Milestone: --- → Next
Has this been fixed by bug 918655 ?
Yes, this is now obsolete.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.