Feature #161
Object.defineProperty should use JSPROP_SHARED for getters/setters
| Status: | Feedback | Start: | 11/11/2009 | |
| Priority: | Low | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Core | |||
| Target version: | 0.10 | |||
Description
Speaking with jorendorff in #jsapi, it turns out that when you create a property with a getter/setter you should use the JSPROP_SHARED flag to avoid spidermonkey needlessly creating an extra slot. Its not much memory, but it makes sense to do and is an easy fix.
History
Updated by Aristid Breitkreuz 240 days ago
- Status changed from New to Feedback
- Target version set to 0.9
Is there any drawback to this? If not, we should go for it.