This is a tracking issue for the migration of core modules to use builtins from the primordials object.
At the moment, for performance-sensitive code, only static methods and global functions should be migrated. V8 8.0 might have the optimization that we need to migrate prototype methods.
Is there somewhere I can find out about primordials and why/how it is _better_ than using global builtins? Maybe a recording of the meeting when this decision was taken? Is the primordials object documented somewhere?
@aduh95
from my understanding it made in order to avoid user mutation in core libraries
https://github.com/nodejs/node/blob/141a6e34eed05577edf43ad085a74f330d0559cb/lib/internal/per_context/primordials.js#L5-L7
Most helpful comment
@aduh95
from my understanding it made in order to avoid user mutation in core libraries
https://github.com/nodejs/node/blob/141a6e34eed05577edf43ad085a74f330d0559cb/lib/internal/per_context/primordials.js#L5-L7