From #233 (comment)
Consider caching commonly-used property keys, instead of allocating them whenever they are used.
- In
napi_define_class(): "prototype", "constructor"
- In
napi_define_properties(): "get", "set", "value", "configurable", "enumerable", "writable"
- In
napi_get_array_length(): "length"
From #233 (comment)
Consider caching commonly-used property keys, instead of allocating them whenever they are used.
napi_define_class():"prototype","constructor"napi_define_properties():"get","set","value","configurable","enumerable","writable"napi_get_array_length():"length"