Closed pvginkel closed 9 years ago
Memory usage has been improved in a lot of places:
JsFn
JsFunction
JsObject
JsObject::class
Option<T>
JsValue
Local<T>
Memory usage has been improved in a lot of places:
JsFn
is now a pointer instead of a closure (saves a word);JsFunction
has been moved out ofJsObject
into a native box;JsObject::class
is not anOption<T>
anymore. Instead a magic value is used to mark it as empty;JsValue
allocations have been removed by creating aJsValue
version that embeds aLocal<T>
(i.e. rooted pointer).