From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qJjmKBI2qGNWNgEAbAwnHQ (envelope-from ) for ; Sun, 25 Dec 2022 12:37:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +B/xKBI2qGOS3wAAauVa8A (envelope-from ) for ; Sun, 25 Dec 2022 12:37:54 +0100 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 6D77016AB9 for ; Sun, 25 Dec 2022 12:37:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9PJY-00075U-Mh; Sun, 25 Dec 2022 06:37:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9PJS-00074Y-AT for emacs-orgmode@gnu.org; Sun, 25 Dec 2022 06:37:06 -0500 Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9PJQ-0000nf-IZ for emacs-orgmode@gnu.org; Sun, 25 Dec 2022 06:37:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject :Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=j/JFBWYVqRHITzUNFa2/YsUdiasphsZk6V1Q0w7/siY=; b=tAD4CbYuVolLaOAPGdmzSktbT+ 8NF1015SeMMtVM470HXhQKma1GWGxySGQ/+pOyxd34cV8mJFxlpiPzldE9IxCd0M5bDgP990W+/7s XG4L6H0gOMJAZY4alur514vzYSswWTxYTZozBj4SHRyw6U4Z7S4bDJXdZG//j8uw5fFo3LceAVnJ3 YRTiWNxIp+onwdZogu4w7vMTpuhI7HPkDtDWIIQUsHef6RX+jrjaylCCS3U0yXMdIQ/3tggNOy1NR pfuYQQVjyacvGHzfSou+boj3MJ6QQZxIBHOJ0YAyIJA7+RrRtP4jJ3HXoKS/JxspUCsuetCb3sgaw Jg3LVSog==; Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1p9PJO-0000pu-1k; Sun, 25 Dec 2022 12:37:02 +0100 Date: Sun, 25 Dec 2022 12:37:02 +0100 From: tomas@tuxteam.de To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: org-persist files in /tmp Message-ID: References: <87len0uc7y.fsf@ucl.ac.uk> <87tu1ovlsn.fsf@localhost> <287345.1671683459@archlinux> <86pmcbigmt.fsf@gmail.com> <87zgbbsuef.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wOMObGtBVprwB4L7" Content-Disposition: inline In-Reply-To: <87zgbbsuef.fsf@localhost> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671968274; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=j/JFBWYVqRHITzUNFa2/YsUdiasphsZk6V1Q0w7/siY=; b=tvZHsMDwG5YgqhBtIBle882FbRcT95eiQ8dmGrEswPZYTUn4+VhpSkylKN5vHfS5S7U+j/ 8AYhmVhizFYGVE4YtTEGKxrmHrxp0l8QB1lcCq9G/lNyBQL8kEv8jVwMdZAEo+t9eeT1xg fouVCcYTzfRro76w1Qs/G8Xv0cEAEhQ1QASS6YGRbhM6hQS9FBHht4mKx48D39mlo6g8/q dGFrtIsh2CilJz+nPMJcJAIO7E3ftkOwTKKDr9Bsk2wp/vPZ7H/5g1N2mb7I12J9Yt/K5c rieCrQ2/pg7bK7B7E+HxJGdHj7iz3L3YzhZjjb8/ZH05C9crsFuut5njstcsXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=tAD4CbYu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671968274; a=rsa-sha256; cv=none; b=F59WlaTp8eAeXjXseGzNpJ3k5lt1J48JRBCpTHythH/Hxhl/3tO98OHI0Lbpm/iweNMf3b 08Rf9pRpQ5UJLyhzvp52KB73wnUQhja+ZNVTiROc24zYox9wrQnrsw4tTc+wfcijtB+F9R y9863frECMA/Im/2mjUhwuOAoxPcAUl0QKpWBHzHlfPrcb4/eFpZd8ao8aYBsauTWELmQh ehOUvHW8JxH3QHo/ulrpCBWmX+xFZenpVv8Q9k09PJ0O3uV8/ze2IFJJQY50jZ3O/oeugm Hhks0ea+5rN1z2EvWGpfraHzQsV68pWG/L9xQiFM5//DY98PuvLfgVVYU3URRQ== X-Spam-Score: -0.92 X-Migadu-Queue-Id: 6D77016AB9 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuxteam.de header.s=mail header.b=tAD4CbYu; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.92 X-TUID: ovxwUli0NYqY --wOMObGtBVprwB4L7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 25, 2022 at 09:30:00AM +0000, Ihor Radchenko wrote: > writes: >=20 > >> Another idea is to avoid caching of parse result for small files. > > > > I haven't been following along very closely, but seeing the > > involved complexities, I'd appreciate a knob to disable caching > > altogether. >=20 > org-element-cache-persistent Thanks, Ihor. You made me a Christmas present *<:-)~ > > My usage of Org hasn't triggered any slowdowns which would be > > worth all that complexity (and yes, my biggest Org file so-far > > is 36k lines, and my box isn't the fastest around). >=20 > The main reason we cannot disable org-persist is _not_ Org AST cache. > The reason is mostly caching some downloaded files. I see. That latency weighs significantly more, yes. Cheers --=20 t --wOMObGtBVprwB4L7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCY6g13QAKCRAFyCz1etHa Rht8AJ9hmnuFkSIwsFcnExSQKh3HgyLKzQCfUddPdcd++I1VwZvqerdBL/FkP+Y= =Jchz -----END PGP SIGNATURE----- --wOMObGtBVprwB4L7--