Javascript:SpiderMonkey:PropertyElementStorage: Difference between revisions

Add TI changes to the list
No edit summary
(Add TI changes to the list)
Line 122: Line 122:
#* delete meta-ops
#* delete meta-ops
#* other meta-ops
#* other meta-ops
== Type inference changes ==
Type inference currently associates type information with things through <code>jsid</code>, and it does so for (almost) all properties.  It attempts to perform its own property/element splitting already: non-negative number properties (this is ''not'' the same thing as an index as referred to in this document!) are grouped together under <code>JSID_VOID</code>.  This distinction admits more than just unsigned 32-bit integers.
The existing type inference algorithm must be changed so that it doesn't track information for elements.  Tracking for elements needs to be moved into a separate location, consulted only for element access.  It's also possible it'll need to be updated for whatever structure is used to represent sparse elements.  There may be some applicability of the current code to sparse elements, if the property tree stuff is used to represent sparse elements, but it seems likely to be an awkward fit.  Whatever happens here will much depend on sparse elements' representation.
'''Time''': unknown
# ...
# ...


= Issues =
= Issues =
Confirmed users
446

edits