Maybe use assign to set the data onCreate?
Posts made by netd777
RE: Any plans to migrate for Deno instead of Nodejs?
Probably not a big improvement since they both use the same runtime (V8 engine).
Also very hard, since they aren't necessarily compatible.
Deno is nice, but doesn't justify it for the time in my opinion. Performance could be achieved a lot more easily with refactors and optimizations.
Also there are other options for high performance computations in node.js such as webassembly, dynamic lybraries, etc.