emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30053: closed ([PATCH 1/3] Improve appearance of tabular output.)


From: GNU bug Tracking System
Subject: bug#30053: closed ([PATCH 1/3] Improve appearance of tabular output.)
Date: Thu, 15 Jul 2021 20:16:02 +0000

Your message dated Thu, 15 Jul 2021 16:15:12 -0400
with message-id <87wnprbagf.fsf_-_@gmail.com>
and subject line Re: bug#30053: [PATCH 1/3] Improve appearance of tabular 
output.
has caused the debbugs.gnu.org bug report #30053,
regarding [PATCH 1/3] Improve appearance of tabular output.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
30053: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30053
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 1/3] Improve appearance of tabular output. Date: Tue, 9 Jan 2018 14:34:46 -0800
I noticed when listing installed or available packages that the output
is often pretty jumbled up because columns in each row have an
inconsistent width.

This series of patches adds a new procedure for printing tabular data
(pretty-print-table) and modifies the code for --list-installed,
--list-available, and --list-generations to utilize it.

-Steve

Attachment: 0001-utils-Add-a-procedure-for-pretty-printing-tabular-da.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#30053: [PATCH 1/3] Improve appearance of tabular output. Date: Thu, 15 Jul 2021 16:15:12 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hi again,

Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Hi,
>
> Here's an improved version of the first patch.  It now uses a hard limit
> on the maximum width of a column, which is a poor man's way of getting
> rid of the outliers that cause the table to be too wide in some
> situations (such as in 'guix package -A').
>
> Otherwise the performance remain unchanged (from ~2 to ~7 seconds with
> 'guix package -A' on a fast machine).
>
>
>
> Thanks!
>
> Maxim

I've improved it some more and pushed as 01d7e8c278.  The performance is
about 5 s on a fast machines to format the 18000 something packages of
the collection, compared to 2 s before (guix package -A), which I think
is OK (but it'd be nice to see Guile opitimize for faster (ice-9
format)!).

Closing.

Thanks to all involved!

Maxim


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]