forked from mirrors/gecko-dev
		
	|  ef90924587 The patch adds a field to the dynamic slots header and uses it to store the unique ID if present. This allocates object slots with zero capacity when setting a unqiue ID on an object that didn't previously have dynamic slots. One issue is that we previously used the dynamic slot capacity to detect whether dynamic slots were present (rather than using the shared empty slots). The patch addresses this using a special value for the optional unique ID for shared empty slots. Tests pass and this reduces time on the weakmap benchmark from 66.1 ns to 50.6 ns, a reduction of 23.5%. Differential Revision: https://phabricator.services.mozilla.com/D176066 | ||
|---|---|---|
| .. | ||
| examples | ||
| loader | ||
| public | ||
| src | ||
| xpconnect | ||
| app.mozbuild | ||
| ffi.configure | ||
| moz.build | ||
| moz.configure | ||
| sub.configure | ||