So I found a situation where emacs -Q runs a loop 60x slower than my personal Doom Emacs config!
Any #emacs#lisp wizard who might have an idea 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.
@louis@kakafarm I just learned that a too big chunk of garbage invites something called OS paging... That's why gcmh-mode uses 16 MB as the "high" value.
@louis Often it's to do with mass-operations on org files, so I need to know files to avoid, like *.bak, logseq backups, syncthing conflict duplicates, whatever is in the user's org-roam-node-exclude-function...
Anyway, instead of making an user setting "ignore-paths" for every package I make, it'd be easier to instruct the user to have a good .ignore file.
I can't figure out how to automatically filter mail in #mu4e into specific folders... Like take everything from the mailing list emacs-orgmode@gnu.org into its own maildir.