Alex Lyon

Results 58 comments of Alex Lyon

Hey, so I just stumbled upon this project and felt like I might as well answer some of these. * `uumain` exists so that there is a unified entrypoint to...

By the way, the only reason I used `Cow` for storing the directory entries was to avoid changing the public API.

Also, this is only sort of related to this PR, but on my relatively old MacBook Pro, using `diskus`'s default number of threads is significantly slower than the number reported...

> Why do you say "should"? I basically meant barring any bugs that I did not catch. > I could try to find other filesystems without this limit or try...

I might have worded that a bit incorrectly. It (mostly) only occurs if you have very deeply nested directories. I'm not totally satisfied with the way I solved it, but...

Actually, since the code is relatively simple, I can probably submit a PR to fix this issue based on my uutils PR later today.

The problem with that is that stuff like [this](https://github.com/Arcterus/game-of-life/blob/cf117d6701b64118bdf038b66cfe55ecd68f5db2/src/life.rs#L137) would need to be changed to use `Box` rather than `impl Iterator`. It's not too much of an issue I suppose,...

Internally, `gumdrop` processes arguments using `str` rather than `OsStr`, meaning that non-Unicode filenames given as arguments can cause problems. When you're parsing the arguments to `PathBuf` or whatever, it's actually...

You can avoid the issue by using `OsString` rather than `String`. You can use `std::env::args_os()` to get an iterator returning the arguments as `OsString`s (or `&OsStr`s? I can’t remember which)....