mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #388] [CLOSED] Adding -T flag for specifing thread usage. #455
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/388
Author: @Dj-Codeman
Created: 4/23/2024
Status: ❌ Closed
Base:
master← Head:master📝 Commits (10+)
07f5bd7Adding threads flag0c7bf35Removing dev printlns150af26Setting thread variable size to u8 to avoid crashes8d4535aFormatting2dac971Delete completions/_dust0974e83merge new _dust3582381regenerated _dusta9c591cPulling new completions8c321b9Regenerating80e3426Pulling from correct branch📊 Changes
9 files changed (+93 additions, -58 deletions)
View changed files
📝
completions/_dust(+23 -36)📝
completions/_dust.ps1(+2 -0)📝
completions/dust.bash(+9 -1)📝
completions/dust.elv(+2 -0)📝
completions/dust.fish(+1 -0)📝
man-page/dust.1(+4 -1)📝
src/cli.rs(+8 -0)📝
src/main.rs(+38 -20)📝
tests/test_flags.rs(+6 -0)📄 Description
This adds a cli flag:
-T, --threadsto allow limiting the number of threads that rayon uses while building the thread pool. I'm aware of being able to set rayon_thread_whatever = X but I believe this is a bit simpler.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.