From 886ae437fee6a674f7b2757062f1b8a91275457a Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Fri, 8 Oct 2021 01:58:03 -0400 Subject: Add talk pages for 2021 --- 2021/talks/faster.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 2021/talks/faster.md (limited to '2021/talks/faster.md') diff --git a/2021/talks/faster.md b/2021/talks/faster.md new file mode 100644 index 00000000..4e9b7752 --- /dev/null +++ b/2021/talks/faster.md @@ -0,0 +1,24 @@ +[[!meta title="How to write faster Emacs Lisp"]] +[[!meta copyright="Copyright © 2021 Dmitry Gutov"]] +[[!inline pages="internal(2021/info/faster-nav)" raw="yes"]] + + + + +# How to write faster Emacs Lisp +Dmitry Gutov + +- Before optimizing, benchmark first. +- Different benchmarking approaches. +- Live evaluation, step-debugging, measuring from a debugger breakpoint. +- How to determine if a function is expensive. How to pick one from + competing alternatives (cl-lib, seq, dash, lean core). +- Print-benchmarking. +- Byte-compiled code can give a very different picture, changing where + the bottleneck is. How to quickly load a byte-compiled version. +- Steps taken to speed up the Xref package recently. + + +[[!inline pages="internal(2021/info/faster-schedule)" raw="yes"]] + +[[!inline pages="internal(2021/info/faster-nav)" raw="yes"]] -- cgit v1.2.3