GNU bug report logs -
#45926
Tabulated-list-mode wasteful properties
Previous Next
Reported by: Boruch Baum <boruch_baum <at> gmx.com>
Date: Sun, 17 Jan 2021 07:34:02 UTC
Severity: minor
Tags: moreinfo, notabug
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #25 received at 45926 <at> debbugs.gnu.org (full text, mbox):
Boruch Baum <boruch_baum <at> gmx.com> writes:
>> Borouch, did you have the time to look into if this data is indeed
>> shared or not? Thanks.
>
> Oh. I thought I had done that right away ...
>
> Doing it again now. Yes. It's very simple to check for yourself. Open a
> buffer that uses the mode and evaluate from any table line ...
>
> (buffer-substring (line-beginning-position) (line-end-position))
>
> You should be able to clearly see all the duplication. It's easiest when
> you have pretty-print set up to display the output in a dedicated
> buffer, but even without that you can isearch through the duplications.
I think the interesting question is if that data is duplicated in memory
or if these are just pointers to the same shared data.
I would try modifying this data with something like `setcdr' to see if
it updates everywhere -- if the answer yes, then this data is shared and
there is no problem here.
This bug report was last modified 4 years and 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.