From: No Wayman <iarchivedmywholelife@gmail.com>
To: 70686@debbugs.gnu.org
Subject: bug#70686: 30.0.50; cl--position is slow
Date: Tue, 30 Apr 2024 19:51:23 -0400 [thread overview]
Message-ID: <87y18uwgsk.fsf@gmail.com> (raw)
I've recently been avoiding cl-position, cl-remove-duplicates, and any other functions which use it internally. I realize there's a performance trade-off in for the flexibility such functions provide, but it may be worth investigating cl--position in particular. Today I replaced an instance of cl-remove-duplicates with an equivalent cl-loop for a 15x performance improvement at the cost of 2 lines of code.
next reply other threads:[~2024-04-30 23:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 23:51 No Wayman [this message]
2024-05-01 11:59 ` bug#70686: 30.0.50; cl--position is slow Eli Zaretskii
2024-05-01 12:20 ` No Wayman
2024-05-01 12:34 ` Eli Zaretskii
2024-05-01 12:23 ` No Wayman
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=87y18uwgsk.fsf@gmail.com \
--to=iarchivedmywholelife@gmail.com \
--cc=70686@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 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).