3 ms·
How is the coreutils true faster? I would expect the openbsd true to be the fastest, it doesn't need to spawn a subshell and it doesn't do more than the posix
by josefx 8y ago
How is the coreutils true faster?
I would expect the openbsd true to be the fastest, it doesn't need to spawn a subshell and it doesn't do more than the posix specification requires (afaik --help/--version should be ignored).
- moviuro 8y agoExperience shows it's faster. It's just weird, but it's like that. time { for i in $(seq 1 10000); do /path/to/true; done; }
- iainmerrick 8y agoWhat are you comparing against what there? Two C executables with the same compiler flags on the same OS?