December 7th, 2009

Profiling and optimizing Common Lisp

I've seen mistaken claims along the lines of "Common Lisp is easy to optimize, you just add type declarations and the compiler will make it super fast!" So it was nice to see jdz start his article about optimizing Brian's Brain with "optimizing without profiling first is a waste of time." He covers using SB-SPROF to find hotspots and Paul Khuong adds some footnotes about how to interpret SB-SPROF output.