Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore techniques for optimizing Emacs Lisp code in this 36-minute conference talk from EmacsConf 2021. Learn the importance of benchmarking before optimization and discover various benchmarking approaches, including live evaluation, step-debugging, and measuring from debugger breakpoints. Gain insights on identifying expensive functions and selecting optimal alternatives from libraries like cl-lib, seq, dash, and lean core. Understand the concept of print-benchmarking and how byte-compiled code can significantly alter performance bottlenecks. Discover methods for quickly loading byte-compiled versions and examine real-world optimization steps taken to enhance the Xref package. This talk, available under Creative Commons Attribution-ShareAlike 4.0 International license, provides valuable knowledge for Emacs Lisp developers seeking to improve code efficiency.
Syllabus
EmacsConf 2021: Optimizing Emacs Lisp Code - Dmitry Gutov
Taught by
EmacsConf and Emacs hangouts