unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#70686: 30.0.50; cl--position is slow
@ 2024-04-30 23:51 No Wayman
  2024-05-01 11:59 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: No Wayman @ 2024-04-30 23:51 UTC (permalink / raw)
  To: 70686


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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-01 12:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 23:51 bug#70686: 30.0.50; cl--position is slow No Wayman
2024-05-01 11:59 ` Eli Zaretskii
2024-05-01 12:20   ` No Wayman
2024-05-01 12:34     ` Eli Zaretskii
2024-05-01 12:23   ` No Wayman

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