mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
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>
This commit is contained in:
parent
1f07d4436c
commit
4f51a4ac27
1 changed files with 0 additions and 1 deletions
|
@ -963,7 +963,6 @@ (define* (pretty-print-table rows #:key (max-column-width 20))
|
|||
(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:
|
||||
|
|
Loading…
Reference in a new issue