Repository navigation
Implement experimental dc-glob backend for Nushell (Devyn's glob experiment) - #18109
Merged
Merged
Conversation
…riment) Co-authored-by: Copilot <[email protected]>
cptpiepmatz
self-requested a review
April 24, 2026 12:05
Contributor
Author
|
@cptpiepmatz I see you wanted to review this one too. Take a look when you get a chance. I'm ready to land it and play with it more. |
cptpiepmatz
requested changes
May 20, 2026
Contributor
Author
|
I think I've addressed all your concerns @cptpiepmatz |
cptpiepmatz
approved these changes
Jun 8, 2026
cptpiepmatz
left a comment
Member
There was a problem hiding this comment.
Sorry, totally forgot to approve your PR here.
Contributor
Author
|
🤞🏻 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR aims to replace nu-glob and wax with Devyn's glob-experiment. I implemented this as an experimental feature named dc-glob (devyn cairns glob). It was a very tricky PR since every command that touches globs (just about) had to be updated. This globbing should stream well but I anticipate corner issues since it's so heavily used.
The goal is to remove wax and nu-glob and standardize on something that works on all platforms. Time will tell if this is it.
Here's a couple hyperfine benchmarks.
Hyperfine with
glob **/*.rsin the nushell repoHyperfine with
ls **/*.rsin the nushell repoTango Benchmarks
User-facing changes (Release notes)
There is a new experimental feature named dc-glob (named for devyn cairns glob). The goal is to remove our existing globbing crates and standardize on something that works on all platforms. Time will tell if this is it. It seems pretty fast. To enable it just launch nushell with
nu --experimental-options dc-glob=trueor set your environment variable BEFORE nushell launches likeNU_EXPERIMENTAL_OPTIONS=allorNU_EXPERIMENTAL_OPTIONS=dc-glob=trueif you only want to try this one.Additional notes
tracking #18101