coreutils
coreutils copied to clipboard
``ls``: Changed unwrap_or and ``or`` option handling to lazy evaluated ``unwrap_or_else`` and ``or_else``
This would help us reduce a lstat() call on ls/colors.rs
Nice. How did you detect this?
GNU testsuite comparison:
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)
Nice. How did you detect this?
Actually i worked on that part of the code in an old pr, few months back. So i remembered that it was using or instead of or_else there.
GNU testsuite comparison:
Skipping an intermittent issue tests/tail/inotify-dir-recreate (passes in this run but fails in the 'main' branch)
Thanks!