GNU bug report logs - #45926
Tabulated-list-mode wasteful properties

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Boruch Baum <boruch_baum@HIDDEN>; dated Sun, 17 Jan 2021 07:34:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'minor' from 'normal' Request was from Stefan Kangas <stefan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 45926 <at> debbugs.gnu.org:


Received: (at 45926) by debbugs.gnu.org; 19 Jan 2021 05:25:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 19 00:25:14 2021
Received: from localhost ([127.0.0.1]:49097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l1jVy-0006JH-3a
	for submit <at> debbugs.gnu.org; Tue, 19 Jan 2021 00:25:14 -0500
Received: from quimby.gnus.org ([95.216.78.240]:54552)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1l1jVw-0006J0-GV
 for 45926 <at> debbugs.gnu.org; Tue, 19 Jan 2021 00:25:12 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=IhpmXbX+6yQuKFAbLr+zA8m8JKXZdnGgn2a3YApud3k=; b=nILjXgKC/UAM6Vq6lm5ZYieRhK
 QNcaQMhZbXyGyXhr7xJtcdx3Ys3xKNPQJY8qBhQnkUAeKVsTCjU4fKeQK4lXeW7LiQO0CzCgUAr/D
 11+2jxqxAhevOvYp3VPnF7fnusBlXx0z8B8z1oEDYGCmLjs8KEBOMF2AaT34op23piwM=;
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1l1jVf-0003ph-Rq; Tue, 19 Jan 2021 06:25:06 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#45926: Tabulated-list-mode wasteful properties
References: <20210117073252.k7f2x35lq3labahe@HIDDEN>
 <87wnwb1y31.fsf@HIDDEN>
 <20210117151128.kwzzacivle4ecsfs@HIDDEN>
X-Now-Playing: Cocteau Twins's _Treasure Hiding (4): Sessions & Rarities_:
 "Half-Gifts (Mark Radcliffe BBC Session)"
Date: Tue, 19 Jan 2021 06:24:54 +0100
In-Reply-To: <20210117151128.kwzzacivle4ecsfs@HIDDEN> (Boruch
 Baum's message of "Sun, 17 Jan 2021 10:11:28 -0500")
Message-ID: <878s8ppkgp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  Boruch Baum <boruch_baum@HIDDEN> writes: > Until you wrote, 
 I definitely was. I think I still am, but I'm willing > to look again. Like
 Basil, I looked at a tabulated list line, and I didn't see any excessive
 duplication -- tabulated list mode puts the data on the entire line, but it's
 the same data structure, so it's all shared [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45926
Cc: "Basil L. Contovounesios" <contovob@HIDDEN>, 45926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Boruch Baum <boruch_baum@HIDDEN> writes:

> Until you wrote, I definitely was. I think I still am, but I'm willing
> to look again.

Like Basil, I looked at a tabulated list line, and I didn't see any
excessive duplication -- tabulated list mode puts the data on the entire
line, but it's the same data structure, so it's all shared data, I
think?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#45926; Package emacs. Full text available.

Message received at 45926 <at> debbugs.gnu.org:


Received: (at 45926) by debbugs.gnu.org; 17 Jan 2021 15:11:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 17 10:11:43 2021
Received: from localhost ([127.0.0.1]:45478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l19iR-0002yB-Bp
	for submit <at> debbugs.gnu.org; Sun, 17 Jan 2021 10:11:43 -0500
Received: from mout.gmx.net ([212.227.17.20]:40813)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1l19iN-0002xw-Lb
 for 45926 <at> debbugs.gnu.org; Sun, 17 Jan 2021 10:11:42 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1610896291;
 bh=KLhlDRmdVDVOEm7pSGAza3W3DKPr9q1CQa/CNx8WgIc=;
 h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To;
 b=cwejwbU1S7xTjcmPtdiDxOelm9CwGMOpAe0yIKCmn8djJXILJM3y8Fiiv4uv7Ju/I
 39Z+J2m8J/oZN4A0jeA+gdFr94AdW/90ltwh9SHft+IUF13gMq7noVZDPPjK2pxsdB
 RLxBRRrvsW/tbo+vo82i4l0KfSiK/xvSUMq/SvdQ=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.com (mrgmx105
 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MYvcG-1lVu0R1oFE-00UsBz; Sun, 17
 Jan 2021 16:11:31 +0100
Date: Sun, 17 Jan 2021 10:11:28 -0500
From: Boruch Baum <boruch_baum@HIDDEN>
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: Re: bug#45926: Tabulated-list-mode wasteful properties
Message-ID: <20210117151128.kwzzacivle4ecsfs@HIDDEN>
References: <20210117073252.k7f2x35lq3labahe@HIDDEN>
 <87wnwb1y31.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <87wnwb1y31.fsf@HIDDEN>
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:0cZo/Dhh0rmEcf50VPeJNKuGbui0XVTyxBsyhUjpBBq6zW+G78a
 zy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YSd8Cu6rgpy2clptLveM+s+ZFXR3x2VGfxlBa1/2uqt/BVOlQermjGCAeu/+G
 +5YZkIG3lQjEo6gdadbA==
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45926
Cc: 45926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 2021-01-17 13:40, Basil L. Contovounesios wrote:
> Boruch Baum <boruch_baum@HIDDEN> writes:
>
> Are you sure the data is actually duplicated and doesn't share
> structure?

Until you wrote, I definitely was. I think I still am, but I'm willing
to look again. It's easier for me since I just recently wrote a
ten-column tabulated list mode application. In my case I do see it
clearly because the text of each row in my tabulated list isn't
disturbed/confused by any text properties, and I do see an exact
duplication of each entire row entry in the property for each column of
that property.

I expect to publish the software within a day or two, and plan to
announce it on the emacs-devel and possibly other lists, at which time
you'll be able to see the internals for yourself. The package is planned
to be named 'crossword.el' and it brings to emacs the ability to
download and play crossword puzzles.

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#45926; Package emacs. Full text available.

Message received at 45926 <at> debbugs.gnu.org:


Received: (at 45926) by debbugs.gnu.org; 17 Jan 2021 13:40:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 17 08:40:17 2021
Received: from localhost ([127.0.0.1]:44669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l18Hx-0000Yt-7u
	for submit <at> debbugs.gnu.org; Sun, 17 Jan 2021 08:40:17 -0500
Received: from mail-wm1-f48.google.com ([209.85.128.48]:55893)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1l18Hr-0000YS-JY
 for 45926 <at> debbugs.gnu.org; Sun, 17 Jan 2021 08:40:15 -0500
Received: by mail-wm1-f48.google.com with SMTP id c124so11244057wma.5
 for <45926 <at> debbugs.gnu.org>; Sun, 17 Jan 2021 05:40:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=vDOsxL3gFKQZeXivM4gb7uHlA261N0yqfmPlqrt5MOA=;
 b=wd7WLPn82E9eaaXsTPynvlUb7Vvzg54waDF1fUzt/Y61U/R4RJYgIDz70gdZdRDj1+
 vgefeJl4nIMGLSAQwLn8pI5nRIcS+NNp7k4KpPDEO14f6duK98RrTN3yM3GUad/PRJs5
 dH3D2hkwneVmzQl7afyFojT50t0i0I4YgiBDptVI09PpXYlwFFcGB16InHSVJB0OtEkw
 VJ8M5AVVyOIrQiC+1Cmf1S5+ek7gVlKgkah9RJXsX1aEyS4GnLhCzXtC0KJHNUSSGyMR
 Khl5YRG0rAF61C/SYly9zj+moTVt5QpAtTcRrDoswljAAj2NBW6zz5DyOJXZKYW750TR
 FwEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=vDOsxL3gFKQZeXivM4gb7uHlA261N0yqfmPlqrt5MOA=;
 b=nrxrC00lRlE8Rn91MzlHB79VovVvlMI/Aehs4TADaE5tHPo54ixSmhuCZ4ghUS5atQ
 H8ulxv9qYKyDADRxGNOVo7ZhTbh0LXi51BfE13yEN5//MRG4OC10hrLw83eX8Cs14oA3
 XIj7G3Vi5RkdjVtmJq79C+w/t0idoiHt0Cp6NW4W9DTLM0TrJw2UjrH2QZVLepLgad6m
 9jCrRLHurPWeuFjDKCIlOEUU9nhFh7HV1LttQ7Z4z2vquwg78H1fkfjupvbqIpRTZe8z
 SZl7Rlx+J0yDPEettUWAI/4hxjpcUkGxjPG1RteDdJZfIJFFZWWYd3GoagomXT0lvzco
 vTpg==
X-Gm-Message-State: AOAM531jTd8JFV6wSfEfbMrVvK/fLAkieSBq9LucyRVOg0Y9wK5qH10d
 TAFhVthKu1OVug0Ikv4n/IPLYg==
X-Google-Smtp-Source: ABdhPJyi5vEh6YKW9cr5cpo3QgW2/7B+YVk+8DZPldRc+0blucwh5mSUGzpcBNUe21QC1OxVfkvQ0Q==
X-Received: by 2002:a1c:b682:: with SMTP id g124mr16923904wmf.10.1610890805742; 
 Sun, 17 Jan 2021 05:40:05 -0800 (PST)
Received: from localhost ([37.228.235.160])
 by smtp.gmail.com with ESMTPSA id q15sm23344302wrw.75.2021.01.17.05.40.04
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 17 Jan 2021 05:40:04 -0800 (PST)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: Boruch Baum <boruch_baum@HIDDEN>
Subject: Re: bug#45926: Tabulated-list-mode wasteful properties
References: <20210117073252.k7f2x35lq3labahe@HIDDEN>
Date: Sun, 17 Jan 2021 13:40:02 +0000
In-Reply-To: <20210117073252.k7f2x35lq3labahe@HIDDEN> (Boruch
 Baum's message of "Sun, 17 Jan 2021 02:32:52 -0500")
Message-ID: <87wnwb1y31.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45926
Cc: 45926 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain

Boruch Baum <boruch_baum@HIDDEN> writes:

> 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.

Are you sure the data is actually duplicated and doesn't share
structure?  I evaluated that expression over the xref package, and got
the attached string.  Nothing looks obviously duplicated, except for the
shared #N= and #N# structures.  Also, some of the repetition of shared
structures is probably just due to how string intervals are
represented/printed.

Not that any of this is necessarily optimal, of course, but it's not
immediately alarming to me, either, unless I'm missing something.

-- 
Basil


--=-=-=
Content-Type: application/emacs-lisp
Content-Disposition: inline; filename=pp-eval.el
Content-Transfer-Encoding: quoted-printable

#("  xref                           1.0.4          available    gnu      Cr=
oss-referencing commands" 0 2
  (tabulated-list-id #1=3D#s(package-desc xref
                                        (1 0 4)
                                        "Cross-referencing commands"
                                        ((emacs
                                          (26 3)))
                                        single "gnu" nil
                                        ((:url . "http://elpa.gnu.org/packa=
ges/xref.html"))
                                        nil)
                     tabulated-list-entry #2=3D[("xref" face package-name f=
ont-lock-face package-name follow-link t package-desc #1# action package-me=
nu-describe-package)
                                              #("1.0.4" 0 5
                                                (font-lock-face package-sta=
tus-available))
                                              #("available" 0 9
                                                (font-lock-face package-sta=
tus-available))
                                              #("gnu" 0 3
                                                (font-lock-face package-sta=
tus-available))
                                              #("Cross-referencing commands=
" 0 26
                                                (font-lock-face package-des=
cription))])
  2 6
  (button
   (t)
   category default-button face package-name font-lock-face package-name fo=
llow-link t package-desc #1# action package-menu-describe-package tabulated=
-list-column-name #3=3D"Package" tabulated-list-id #1# tabulated-list-entry=
 #2#)
  6 7
  (tabulated-list-column-name #3# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  7 33
  (display
   (space :align-to 33)
   tabulated-list-column-name #3# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  33 38
  (font-lock-face package-status-available help-echo
                  #("Version: 1.0.4" 9 14
                    (font-lock-face package-status-available))
                  tabulated-list-column-name #4=3D"Version" tabulated-list-=
id #1# tabulated-list-entry #2#)
  38 39
  (tabulated-list-column-name #4# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  39 48
  (display
   (space :align-to 48)
   tabulated-list-column-name #4# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  48 57
  (font-lock-face package-status-available help-echo
                  #("Status: available" 8 17
                    (font-lock-face package-status-available))
                  tabulated-list-column-name #5=3D"Status" tabulated-list-i=
d #1# tabulated-list-entry #2#)
  57 58
  (tabulated-list-column-name #5# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  58 61
  (display
   (space :align-to 61)
   tabulated-list-column-name #5# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  61 64
  (font-lock-face package-status-available help-echo
                  #("Archive: gnu" 9 12
                    (font-lock-face package-status-available))
                  tabulated-list-column-name #6=3D"Archive" tabulated-list-=
id #1# tabulated-list-entry #2#)
  64 65
  (tabulated-list-column-name #6# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  65 70
  (display
   (space :align-to 70)
   tabulated-list-column-name #6# tabulated-list-id #1# tabulated-list-entr=
y #2#)
  70 96
  (font-lock-face package-description help-echo
                  #("Description: Cross-referencing commands" 13 39
                    (font-lock-face package-description))
                  tabulated-list-column-name "Description" tabulated-list-i=
d #1# tabulated-list-entry #2#))

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#45926; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Jan 2021 07:33:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 17 02:33:02 2021
Received: from localhost ([127.0.0.1]:44502 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l12YX-0006Sp-Se
	for submit <at> debbugs.gnu.org; Sun, 17 Jan 2021 02:33:02 -0500
Received: from lists.gnu.org ([209.51.188.17]:48820)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boruch_baum@HIDDEN>) id 1l12YW-0006Sd-0N
 for submit <at> debbugs.gnu.org; Sun, 17 Jan 2021 02:33:00 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:38636)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1l12YV-0000Kl-OW
 for bug-gnu-emacs@HIDDEN; Sun, 17 Jan 2021 02:32:59 -0500
Received: from mout.gmx.net ([212.227.17.20]:47307)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <boruch_baum@HIDDEN>)
 id 1l12YT-0007Zo-8X
 for bug-gnu-emacs@HIDDEN; Sun, 17 Jan 2021 02:32:59 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1610868775;
 bh=HLgKxiu3PJFbpYiuB8Zm14u9Yc6co5FqZb0jOmjehj0=;
 h=X-UI-Sender-Class:Date:From:To:Subject;
 b=b1227CH/ztm2OOazK2vGLoGoLjd44qzXg8AQYX6Dqvdei1TDF75xoANPRAITOp/eP
 SHDvOdsWGDZBBSBVUDIYLCbx4PVDaCkON5ocYdK5IaJQbyLu6hUPw96wpuFGOd4YgK
 04C70y6YlL8o9GeqWr2O/KW7wR12o8fNkstYM32A=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.com (mrgmx105
 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MrQEx-1lnZ7B2zzD-00oSfl
 for <bug-gnu-emacs@HIDDEN>; Sun, 17 Jan 2021 08:32:55 +0100
Date: Sun, 17 Jan 2021 02:32:52 -0500
From: Boruch Baum <boruch_baum@HIDDEN>
To: Emacs Bug Reporting <bug-gnu-emacs@HIDDEN>
Subject: Tabulated-list-mode wasteful properties
Message-ID: <20210117073252.k7f2x35lq3labahe@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: NeoMutt/20180716
X-Provags-ID: V03:K1:0DBCWGSwntuPiVdGq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6LrMqh8s/0Ycw4cIOTAJhXqrD9EU7YQyBhGXxMDJGS
 +bJ+0sPd3sEvOo75pIga3P/r7PJGqFviBvRaricDp9+/wAerMsPPUThDRIkE3hFR4yN6dXfVv
 aNEOKj2ntcxxH/Us8YDg==
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=212.227.17.20; envelope-from=boruch_baum@HIDDEN;
 helo=mout.gmx.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

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, Perfor=
ming

   (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.

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




Acknowledgement sent to Boruch Baum <boruch_baum@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#45926; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 26 Feb 2021 01:30:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.