To my surprise, mapcar is so fast (it's an elisp primitive) that creating lambdas is cheaper than using a loop: https://gist.github.com/Wilfred/d51db0a1433ec4abdbca58a0dec039a5
Related Posts
Has anyone built a great solution to 'run all my unit tests automatically'?
It's straightforward to write a while loop in bash, but handling timeouts, syntax errors etc well is hard.
Running on save would be good, although I wonder if you could run fast tests on each keystroke.
A pleasant surprise: updating the direct dependencies in difftastic has reduced the total transitive dependencies. I wasn't expecting that.
Claude asked me a question today: was I looking for an Emacs plugin (because I was talking about elisp) or a Rust program (because I have configured Rust preferences)?
I'm really impressed, it's rare to see LLMs ask follow-up questions.
(I wanted Emacs in this case.)