* FYI Speedup of publish command in master
@ 2021-06-27 8:15 Gustav Wikström
0 siblings, 0 replies; only message in thread
From: Gustav Wikström @ 2021-06-27 8:15 UTC (permalink / raw)
In a similar vein as the speedups of scanning for IDs that was made a while back, there now is a speedup for org publish as well. Soon to be pushed to code.orgmode.org (we're still using that, aren't we?) with commit aa0fa8c75.
The speedup is seen when scanning through files to decide if an existing cache can be used or not.
A note on the topic, fwiw. Loading an Org mode file using find-file is very slow. So when there is a reason for looking through the content of Org mode files, or any file for that matter, and there is no reason for triggering hooks, consider instead inserting the content of the file in a delay-mode-hooks macro within a temporary buffer (using the with-temp-buffer macro).
;; do stuff
;; clean up state
;; do stuff
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-27 8:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-27 8:15 FYI Speedup of publish command in master Gustav Wikström
Code repositories for project(s) associated with this public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).