Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for classes in a DirectoriesSourceLocator is extremely slow, since all AST symbols are traversed to look for existing classes #110

Closed
Ocramius opened this issue Sep 3, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@Ocramius
Copy link
Member

Ocramius commented Sep 3, 2018

A faster strategy would be to have autoloader-friendly locators for:

  • PSR-4
  • PSR-0

Then eventually falling back to the classmap source locators (only if necessary).

@Ocramius
Copy link
Member Author

Fixed by #120

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant