mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
The internal `require()` is actually just one map load (to see if the module is already loaded) + one property load (state check for circular dependencies) for modules that are already loaded. Refs: https://github.com/nodejs/node/pull/45659#discussion_r1033762328 PR-URL: https://github.com/nodejs/node/pull/45809 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>