mirror of
https://github.com/atom/atom.git
synced 2026-02-13 16:14:59 -05:00
resolve now checks the existence of a module already loaded at the given path before checking if the file exists on disk. This removes the need for many redundant fs.exists and fs.isFile calls for already loaded modules. This speeds up package loading since most packages have a common set of requires that were doing needless fs operations for each searched path when the module was already in the cache at that path.
4.5 KiB
4.5 KiB