tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD truss(1), coredumper(1) and performance bottlenecks
On Fri, May 24, 2019 at 04:25:12PM +0700, Robert Elz wrote:
> | That's probably the shell that must read input byte by byte in most cases.
>
> The shell actually very rarely does one byte reads when not reading
> from the terminal (and even then only for command line editing).
>
> That used to be important in the pre Bourne-shell days, but the time
> of the shell passing the open script to child processes to read from
> are long gone - and without that, it isn't as important that there
> be no readahead.
Did POSIX drop the requirement that sh scripts can successfully be
self-modifying?
(if so, hurray)
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index