diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-07-21 17:30:20 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-07-21 17:42:30 -0400 |
commit | 4f51a4ac278d5001e0afdba3c5425e0bd6673505 (patch) | |
tree | bb564ba13ffedf3627b153851a31d5d9028cc5f9 /guix | |
parent | 1f07d4436cb6fb118ea0c8e6f4ea1eb5accfe38f (diff) |
utils: Do not request block buffering in pretty-print-table.
Re-testing 'guix package -A' using the default line buffering set in (guix
ui), there doesn't seem to be a performance gain to use block buffering, so
remove this extraneous side effect.
* guix/utils.scm (pretty-print-table): Do not set buffering mode to block.
Reported-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'guix')
-rw-r--r-- | guix/utils.scm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/guix/utils.scm b/guix/utils.scm index 2c56c8b2e0..2920fa7684 100644 --- a/guix/utils.scm +++ b/guix/utils.scm @@ -963,7 +963,6 @@ bound by MAX-COLUMN-WIDTH." (map (cut min <> max-column-width) column-widths))) (fmt (string-append (string-join column-formats "\t") "\t~a"))) - (setvbuf (current-output-port) 'block) ;for better performance (for-each (cut format #t "~?~%" fmt <>) rows))) ;;; Local Variables: |