From: <email@example.com> To: Ihor Radchenko <firstname.lastname@example.org> Cc: email@example.com Subject: Re: Bug: org-tangle writes region for every single block [9.4.4 (9.4.4-elpa @ /home/miha/.config/emacs/elpa/org-20201222/)] Date: Thu, 25 Nov 2021 23:07:31 +0100 [thread overview] Message-ID: <878rxbzy70.fsf@miha-pc> (raw) In-Reply-To: <87pmqr2gka.fsf@localhost> Ihor Radchenko <firstname.lastname@example.org> writes: > email@example.com writes: > >> Tangling a file with a lot of src blocks can get quite slow because >> write-region is called for each individual src block. >> >> On my machine it takes 8 seconds to tangle a file with 160 blocks of the >> same language. Tangling the file over tramp would probably take about 5 >> minutes. >> >> Perhaps it would be more optimal to only save each file at the end >> of src block extraction. > > I am not sure if the bulk of tangling time is spent actually writing to > disk. Can you try your problematic file on latest main? There are some > improvements that should improve tangling speed significantly. > > Best, > Ihor Indeed, bug is fixed with org-mote commit from Sat May 1 22:30:42 2021 +0200 (a2cb9b853d30fc301f4553d1556dba4ee6bc1ead) Thanks. (I don't know how to close an org-mode issue.)
next prev parent reply other threads:[~2021-11-25 22:04 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-28 12:06 jakanakaevangeli 2021-11-23 12:37 ` Ihor Radchenko 2021-11-25 22:07 ` jakanakaevangeli [this message] 2021-11-26 0:09 ` Ihor Radchenko
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=878rxbzy70.fsf@miha-pc \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --subject='Re: Bug: org-tangle writes region for every single block [9.4.4 (9.4.4-elpa @ /home/miha/.config/emacs/elpa/org-20201222/)]' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git 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).