diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 12:53:48 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 12:53:48 +0100 |
| commit | 6b975a8a4015211214517cdd42905ae396975a1f (patch) | |
| tree | 5a1d93b5fc5efc31d49ef7c3885e49f31eea77fa /README | |
| parent | Update e-mail (diff) | |
| download | yes-silly-6b975a8a4015211214517cdd42905ae396975a1f.tar.gz yes-silly-6b975a8a4015211214517cdd42905ae396975a1f.tar.bz2 yes-silly-6b975a8a4015211214517cdd42905ae396975a1f.tar.xz | |
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'README')
| -rw-r--r-- | README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ GNU yes(1) is not that fast! -This implementaion is not only about 8 +This implementation is not only about 8 times as fast[0], it uses half as much CPU. Note that this implementation is not even @@ -9,7 +9,7 @@ the pipe and fill that buffer and only do one write(2) or vmsplice(2) to the pipe. Speaking of this overhead, this implementation is completely useless[1] unless the other -program is will even read {PIPE_BUF} bytes +program will even read {PIPE_BUF} bytes (4096 on Linux, 512 on POSIX) + 2²⁰−2¹⁶ bytes (on Linux, unspecified for POSIX). Therefore, this implementation of yes(1) is just silly @@ -19,5 +19,5 @@ and should not be used by anyone. [0] On my computer. If you get different results please leave a comment. -[1] Has no benefits what so every in any +[1] Has no benefits whatsoevery in any aspect at all. |
