commit 3ad57ea82389e52c72c310268bde8b8540fa408e
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Wed May 10 10:50:55 2017 +0200
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Wed May 10 10:50:55 2017 +0200
blind-flip is optimal
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/src/blind-flip.c b/src/blind-flip.c
index 18914ae..71f30c4 100644
--- a/src/blind-flip.c
+++ b/src/blind-flip.c
_AT_@ -27,6 +27,7 @@ main(int argc, char *argv[])
while (eread_frame(&stream, buf, n))
for (ptr = n; ptr;)
ewriteall(STDOUT_FILENO, buf + (ptr -= rown), rown, "<stdout>");
+ /* ewriteall is faster than writev(3) and vmsplice(3) */
free(buf);
return 0;
Received on Wed May 10 2017 - 10:58:19 CEST
This archive was generated by hypermail 2.3.0
: Wed May 10 2017 - 11:00:18 CEST