From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org, eller.helmut@gmail.com
Subject: Re: MPS: struct window, prev_buffers + next_buffers
Date: Sat, 22 Jun 2024 12:25:25 +0200 [thread overview]
Message-ID: <m25xu1mfze.fsf@pro2.fritz.box> (raw)
In-Reply-To: <867cehi9wb.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 Jun 2024 12:50:28 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> I think I'll try to let window-{next,prev}-buffers clean the list
>> before returning it. It doesn't look like something to me that a weak
>> vector or something like that could solve. WDYT?
>
> That would work, but what if these functions are not called for a
> while?
Hm. I suspect it won't do much harm, from what I see here at least, with
my usage pattern and config.
> Also, it would make these simple accessors more expensive.
True.
I'll push something like what I said in a few minutes. Let's see how it
fares.
prev parent reply other threads:[~2024-06-22 10:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-22 7:24 MPS: struct window, prev_buffers + next_buffers Gerd Möllmann
2024-06-22 7:58 ` Eli Zaretskii
2024-06-22 8:13 ` Gerd Möllmann
2024-06-22 8:24 ` Eli Zaretskii
2024-06-22 8:53 ` Gerd Möllmann
2024-06-22 9:50 ` Eli Zaretskii
2024-06-22 10:25 ` Gerd Möllmann [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m25xu1mfze.fsf@pro2.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=eliz@gnu.org \
--cc=eller.helmut@gmail.com \
--cc=emacs-devel@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).