💬 Reply by screwtape

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.

screwtape

https://mastodon.sdf.org/@screwtape/113525449400787137

ksaj

Posts tagged #mlist

Posts tagged #mand

💬 Replies

No replies.

────

View parent post

View first post in thread

────

📡 Local feed

🏕️ Communities

🔥 Hashtags

🔎 Search posts

🔑 Sign in

📊 Status

🛟 Help