Open Bug 1089300 Opened 6 years ago Updated 6 years ago

Investigating using Proxies instead of copies for fixArray

Categories

(MailNews Core :: MIME, defect)

x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: jcranmer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Object duplication can be expensive, especially since we're iterating over prototype slots so we can set the prototype. Creating a new Proxy wrapper should be faster, especially because the properties which require more than forwarding the get to the underlying property are likely to be more rarely called.
Keywords: perf
OS: Linux → All
You need to log in before you can comment on or make changes to this bug.