Martin Edström on Nostr: So I found a situation where `emacs -Q` runs a loop 60x slower than my personal Doom ...
So I found a situation where `emacs -Q` runs a loop 60x slower than my personal Doom Emacs config!
Any #emacs #lisp wizard who can guess why? It's as if it's garbage-collecting for a whole minute. It's not the loop itself that's slow, because it actually completes all iterations, and only then does Emacs hang.
Published at
2024-05-01 19:00:36Event JSON
{
"id": "a731e6ae45f008639176b7060d4453cd16d123de07420eea4072b39dc34d5beb",
"pubkey": "d89eb6f2057c051defd67f809b5eb974c9338ef51917896867f207433d51439a",
"created_at": 1714590036,
"kind": 1,
"tags": [
[
"t",
"emacs"
],
[
"t",
"lisp"
],
[
"proxy",
"https://emacs.ch/users/meedstrom/statuses/112367372664251727",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://emacs.ch/users/meedstrom/statuses/112367372664251727",
"pink.momostr"
]
],
"content": "So I found a situation where `emacs -Q` runs a loop 60x slower than my personal Doom Emacs config!\n\nAny #emacs #lisp wizard who can guess why? It's as if it's garbage-collecting for a whole minute. It's not the loop itself that's slow, because it actually completes all iterations, and only then does Emacs hang.",
"sig": "fd68a0da52aee9321d91a0bb4e92103bd8c6698beef6c0e2ae6007272b76faf236782881a411deb2d52ce8d8d8dd1aea3f8a1a3f40c8ad24309a3137fe114104"
}