Re:Echo – Assembly program that prints the first positional ...
by mistaken on Monday January 02, 2017 @03:07AM
(#13299740)
I guess it's because the echo command included in the shell was slow.
[ Parent
| on HN ]
Re:Echo – Assembly program that prints the first positional ...
by pm215 on Monday January 02, 2017 @07:04AM
(#13300663)
The cost of fork+exec of a separate binary will make even the most efficient possible external echo slower than the shell builtin, I suspect. (This is why echo is a builtin in the first place, though there's no requirement for it to be so.)