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

files cache #2

Open
jonschlinkert opened this issue Apr 21, 2016 · 0 comments
Open

files cache #2

jonschlinkert opened this issue Apr 21, 2016 · 0 comments

Comments

@jonschlinkert
Copy link
Member

Resolving generators is already fast, but to make it as close to O(N) as possible we can implement a files cache that reads in a glob of files, then all generator matching would happen against the returned array.

This way we're only hitting the file system once - or at least limiting the number of times we directly hit the fs in generate. users can do whatever they want in their generators.

the files cache would be exposed to the instance

@jonschlinkert jonschlinkert mentioned this issue May 28, 2016
3 tasks
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

No branches or pull requests

1 participant