Gerd Möllmann writes: > Aprt from that, I'm currently trying to get profiling working on my old > Macbook Pro, to compare the profiles of the 2 commits on emacs-29 which > show the difference. That could maybe answer your question. To the question of profiling. I've now used the built-in profiler on the two commits, but I must say that I don't see where the difference comes from. These are debug builds, 5 runs of the benchmark.