Great talk on V8 internals @mathias curious what type is assigned to an array containing objects? Does an array of objects just become PACKED_ELEMENTS if it has no holes, and can V8 optimise that or is there a better alternative? #JSConfAU18
It would be PACKED_ELEMENTS, or HOLEY_ELEMENTS if it contains holes. Note that we can still optimize HOLEY elements kinds! The optimizations are just not as fine-grained as with PACKED elements kinds.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.