Commit 2b95956
authored
On a M2 Mac there is some benefit, but assumed to be much greater on
slower filesystems.
```
# master
julia> @Btime collect(walkdir(expanduser("~/Downloads")));
380.086 ms (310696 allocations: 25.29 MiB)
# This PR
julia> @Btime collect(walkdir(expanduser("~/Downloads")));
289.747 ms (103300 allocations: 7.50 MiB)
```
The implementations appear to produce the same result
```
julia> collect(walkdir(expanduser("~/Downloads"))) == collect(walkdirx(expanduser("~/Downloads")))
true
```
1 parent 188e386 commit 2b95956
1 file changed
+8
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1089 | 1089 | | |
1090 | 1090 | | |
1091 | 1091 | | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
1099 | 1097 | | |
1100 | | - | |
1101 | | - | |
| 1098 | + | |
| 1099 | + | |
1102 | 1100 | | |
1103 | | - | |
| 1101 | + | |
1104 | 1102 | | |
1105 | 1103 | | |
1106 | 1104 | | |
| |||
0 commit comments