Skip to content

Conversation

@maschwenk
Copy link

This is a very hot path in larger apps. A typical app might have 1-2 path mappings, and ~8 extensions defined. This means that for a given path lookup:

  1. It'll need to enumerate n many paths to look up, in the example above it would be 16
  2. For those 16 paths, potentially call 16 existsSync for every single file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant