Apparently function calls are cheap in elisp. I rewrote a recursive function as iterative and was pleasantly surprised that perf matched.
miniblog.
Related Posts
I made some changes to a node express project that I haven't touched in almost five years. I was pleasantly surprised that I only needed to update one dependency to get it working again!
(It was sqlite3, which is a native dependency using node-gyp.)
I'm still pleasantly surprised when difftastic does a good job. Here's an example I saw today: adding a new variable with or_else() is extremely readable!
I'm dogfooding difftastic and I'm always pleasantly surprised when it works.
Here's a nice example from optimisation today: I've removed an outer if statement. Note that it's lined up line 47 on the left with line 41 on the right, even though they have different indentation.

