2024-11-22 ┃ edited ┃ RE: screwtape
@ksaj
(defun lazy-hax0r-p (x)
(let* ((7s (scan-range :from 7 :by 7))
(7m (mask 7s))
(191s (scan-range :from 191 :by 191))
(191m (mask 191s))
(m (#Mand 7m 191m)))
(collect-nth x m)))
Attempt two ;p
EDIT: THREE
Basically, Series doesn't optimize out consing. #Mand doesn't cons, but #mlist does.
Connection:
Series and python are the same age.
https://mastodon.sdf.org/@screwtape/113525449400787137
No replies.
────
────