From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4K17I9Jf9l9SOQAA0tVLHw (envelope-from ) for ; Thu, 07 Jan 2021 01:11:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kNBDH9Jf9l/tXAAAbx9fmQ (envelope-from ) for ; Thu, 07 Jan 2021 01:11:46 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6708D9404CD for ; Thu, 7 Jan 2021 01:11:46 +0000 (UTC) Received: from localhost ([::1]:46206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxJq3-0007pZ-CH for larch@yhetil.org; Wed, 06 Jan 2021 20:11:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxJpZ-0007pI-5Z for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 20:11:13 -0500 Received: from mout.web.de ([212.227.15.3]:48329) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxJpW-000212-La for emacs-orgmode@gnu.org; Wed, 06 Jan 2021 20:11:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1609981865; bh=FCjgoYhwHPjvKHqQVRxCAGsXumXYSCUyQjLiRNmW104=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:In-reply-to:Date; b=DREQUndKlY1kcq2Jkx/mhzrjJm+9210AWWQjjNt41H6eA7VlNbcm0EJGcAtQHdi+z fNp2PG/ppZruUOqsROhnZS5yTDobDazWyz0fieoGK7IOQC6ZlIUsG7GNgsCQHsmgmy rToa29CpjROpkNu1ngf4WfU6slZyV46ocD0th9hs= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from fluss ([84.149.95.107]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M8kEP-1ktAy13eZF-004ej6; Thu, 07 Jan 2021 02:11:04 +0100 References: <87y2h9bctq.fsf@kyleam.com> User-agent: mu4e 1.4.13; emacs 27.1 From: "Dr. Arne Babenhauserheide" To: Kyle Meyer Subject: Re: [PATCH] ox-publish.el: Speed up org-publish-cache-file-needs-publishing In-reply-to: <87y2h9bctq.fsf@kyleam.com> Date: Thu, 07 Jan 2021 02:11:02 +0100 Message-ID: <878s95eel5.fsf@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Provags-ID: V03:K1:o3MSbwL9wNhHEo4BXVYgcHvwPIAjXaqJACp2LHkvQ4kL7Bxlkf0 ix893hWeOFsduu+y5nLk5Ph6g+X688/vAQXpUhfeUjBDlXhLTH8kV7YJ5l/2djI/NHB0Grf WdV+IAhcsTm6BF9UnCnL/1Dh/a3MPKnXH7C1nRqcU/aY2Ja0ZM6XkYyOihquP2GPi7VowKy Ud1Vje9qhBk6PHnfCO1GA== X-UI-Out-Filterresults: notjunk:1;V03:K0:jSDuAAEAA+M=:XHLA+zTDOx/PSChFhaYmQg htED51vRBCwD3xvQWceeOpYUVuR0Iv6XfbfoHBfJI8UY0aI3Y1HPVFPbXHg0DEqxQ7WiqhE1M URUyA8Tl14rnFu+kQnmO0XrK3HecG72H5QKyyzCrcPPoXo4xPFK/RPP3ufjfxhvSdo9NE9YK9 jhQhvY91k1iobHN64cahzFvAfCeTCK0wLDo6omOq61JQP3XS4jH/msCHA+PrKTGPl30YAZWEN 3ROY4AXxhfPqMaguINH3FMjLApt7I7TDtSThUei5uP6qYYZHx5NmG5gxSFfrI5XeGh6zZv2cZ ztEfK3Gmy8vy79VoAsB/pJ+5iCpl5z5pxtEgerGtIEzlOb0tZ+HUYq2fvAaYrLZ39gZReqlry JwcMyBF9rxDcwmD7JOd1wCVRegzAr/eu9p4OHk1pnfPbhwypLM0deoOwGNQSEaRKLvZ0HGYyU 31xMsa5x4URhdmVqnNWgUkZTtCjyYM9Xfrrfp3R4DAnCzvtrltit6c25NZJqGLG/H4K0dnqXV uMOJaP6BjeOfp/3LbIwNAq1nMcwbG38MY5TMmPGv6OzVMBm00G7gTMs/z+hPfHZtWdjbr2UeU KhJxuQcxmWRECHe4R/AhrD9XhUEsa5DyOtKeYhwvXm+YnSo/BV+nWl3znS6QhJ7dvxp60FZ3c fsrjuTM6TOwF2NXKZcutxRauzlAcAQcMuVZejuDtg9WKdHyLLk1x2wcdEp/cRxqvrcErrNnSt 7UvG9bEn/IflnXPx4pbM+xAKYmqQ6cayuHmLJR0FPF17zgoEL/ja7tCEVW9VuB1j429RIEOpa ZiPYEUBLuYJC8mA4jYxGO4FQ9RW6+5+hczx6IvhL0BMhQlVbg5hO1DOAUOybwf05EypW73L7g YJNQ0F9ZukHPPP1+J/tw== Received-SPF: pass client-ip=212.227.15.3; envelope-from=arne_bab@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emily Bourke , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 Authentication-Results: aspmx1.migadu.com; none X-Migadu-Queue-Id: 6708D9404CD X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: gMCLIHA4T/3J --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Kyle Meyer writes: > Nothing jumps out to me. For large files that are already visited, I > suppose find-file-noselect returning an existing buffer can be faster, > so relevant factors would include how many Org files a project has, how > large they are, and how many of those are visited in the current > session. My guess is that using with-temp-buffer and > insert-file-contents would be a net gain, though that gain would be > narrowed some if the temporary buffer was put into org-mode rather than > kept in fundamental-mode (more below). If you want to test a rather complex setup, you can try my website build: hg clone http://hg.sr.ht/~arnebab/draketo; cd draketo/; autoreconf -i; ./co= nfigure ; time make It takes around 3 minutes to build on my machine. (hg is Mercurial) Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAl/2X6cQHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD68qdEAC/qeFVgVtF2Om0t9fQiiCCRdLG/QYyVrvD GYSpD1ZPAiZ6T+LpZwYX14A/0bwmcRLpa7OHNraBcEL94kl3/at9q3E2XdQgxm9E 4Oim7o9PiO6Zj5DACQWQ47kbQueWQBp4rAViODgTOnc/SrRIkHD7lOns3FOn/8G9 PKt8zFx1oswkgPH/eolQaId5N0xrTG7UPyt7xzbvp8b6kP1lfYlMny/Ogn0tmXX6 hYbEgIS5fiFSUM95VThP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