logoalt Hacker News

Fast SEQUENCE iteration in Common Lisp

56 pointsby BoingBoomTschaklast Saturday at 6:56 PM11 commentsview on HN

Comments

vindarelyesterday at 10:21 PM

The same day, after this post, SBCL's main developer made reduce faster (https://www.reddit.com/r/lisp/comments/1pmip8o/fast_sequence...). Let's see on the next SBCL release what the final results are.

show 1 reply
matheusmoreirayesterday at 10:45 PM

> sequences are a band-aid over the lack of real iterator protocol

Wouldn't it be better to solve that problem? Proper generalized iteration with generators is just semicoroutines which can be implemented by swapping around stack pointers with zero copying. Should be competitive performance wise.

show 1 reply
tug2024today at 5:22 AM

[dead]

ezoi_MuUJdtoday at 12:42 AM

[flagged]