Skip to content

Ignore crate: API questions #2730

Answered by BurntSushi
VorpalBlade asked this question in Q&A
Discussion options

You must be logged in to vote
  1. If you want to use globs specifically, use overrides.
  2. I don't remember the specific reason, but I don't see any reason why it would impact perf to avoid Box. The marginal cost of virtual dispatch here seems very small.
  3. Yes. That's entire point of this crate. It even parallelizes gitignore matching.
  4. I doubt it would help. But someone should litigate that experiment. It probably won't be me, and it will need to be a new crate.

Note that overall, ignore is still a proof of concept. I just haven't gotten back around to incorporating all of the lessons I've learned into a refresh of the crate.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@VorpalBlade
Comment options

@BurntSushi
Comment options

Answer selected by VorpalBlade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants