4 ms·
I believe allocating memory for objects on the heap. https://stackoverflow.com/a/80113/10654749 https://stackoverflow.com/a/80113/10654749
by davefol 3y ago
I believe allocating memory for objects on the heap. https://stackoverflow.com/a/80113/10654749 https://stackoverflow.com/a/80113/10654749
- tomcam 3y agoI think it’s more specific, something along the lines of turning a reference (pointer-allocated) object to a value-based object? But I’m woefully ignorant on this.
- liuliu 3y agoOh, by "boxing object", I meant to create the in-memory object that can be used by JavaScript runtime, preferably native objects. For example, in JSC case, something like https://developer.apple.com/documentation/javascriptcore/jsvalue?language=objc https://developer.apple.com/documentation/javascriptcore/jsv....
- tomcam 3y agoAh, thanks