Skip to content

files cache #2

@jonschlinkert

Description

@jonschlinkert

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions