all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Boruch Baum <boruch_baum@gmx.com>
To: 45926@debbugs.gnu.org
Subject: bug#45926: Tabulated-list-mode wasteful properties
Date: Sun, 17 Jan 2021 02:32:52 -0500	[thread overview]
Message-ID: <20210117073252.k7f2x35lq3labahe@E15-2016.optimum.net> (raw)

Tabulated lists can grow quite large. In fact, the most common use for
the mode is the *Packages* buffer listing, which for me today clocks in
at 5211 lines * five columns. In the case of the *Packages* buffer, Performing

   (buffer-substring (point) (line-end-position))

on a sampling of lines yields 'PP eval' buffers of length ~500 - ~700
characters.

Most of this looks to me to be unnecessary duplicate data. In using the
mode for my own purpose, I see that the mode is putting all data of all
columns in an entry (row) in each and every single column, ie the size
grows exponentially by number of columns (in my personal case, ten
columns).

This isn't breaking anything, but it looks like bad design unnecessarily
hogging memory and filling buffers with cruft.

--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0





             reply	other threads:[~2021-01-17  7:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17  7:32 Boruch Baum [this message]
2021-01-17 13:40 ` bug#45926: Tabulated-list-mode wasteful properties Basil L. Contovounesios
2021-01-17 15:11   ` Boruch Baum
2021-01-19  5:24     ` Lars Ingebrigtsen
2021-03-12  0:52       ` Stefan Kangas
2021-03-12  2:57         ` Boruch Baum
2021-03-12  3:39           ` Stefan Kangas
2021-03-12  5:46             ` Boruch Baum
2021-03-12 11:01               ` Basil L. Contovounesios
2021-04-21  3:35             ` Stefan Kangas
2021-03-12 10:51           ` Basil L. Contovounesios
2021-04-21  4:36             ` Jean Louis
2021-04-21  4:31           ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210117073252.k7f2x35lq3labahe@E15-2016.optimum.net \
    --to=boruch_baum@gmx.com \
    --cc=45926@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.