]> git.eshelyaron.com Git - emacs.git/commit
Use the nthcdr byte-op for drop, and raise open-code limit
authorMattias EngdegÄrd <mattiase@acm.org>
Mon, 29 Apr 2024 18:24:07 +0000 (20:24 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 30 Apr 2024 07:40:43 +0000 (09:40 +0200)
commitb266b81884ae6e0a354774d0d722deda90f3521a
tree43e64daf9db162bd5a104c463f7734079b4bbe3d
parentc97b4067e023b358d8e1ba0f90d63101deef8baa
Use the nthcdr byte-op for drop, and raise open-code limit

* lisp/emacs-lisp/byte-opt.el (byte-optimize-nthcdr):
Open-code for any integral N<5.  Always use the byte-op otherwise.

(cherry picked from commit 3000edc6179dfe0b5f24ae2e472826530809dfd1)
lisp/emacs-lisp/byte-opt.el