From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ADAyIEYYqGN62AAAbAwnHQ (envelope-from ) for ; Sun, 25 Dec 2022 10:30:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iCs8H0YYqGPFsQAAG6o9tA (envelope-from ) for ; Sun, 25 Dec 2022 10:30:46 +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 3162F3B68B for ; Sun, 25 Dec 2022 10:30:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p9NKe-00073W-Cn; Sun, 25 Dec 2022 04:30: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 1p9NKa-00072l-2S for emacs-orgmode@gnu.org; Sun, 25 Dec 2022 04:30:08 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9NKY-0005Xx-CF for emacs-orgmode@gnu.org; Sun, 25 Dec 2022 04:30:07 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7A3D82400E4 for ; Sun, 25 Dec 2022 10:30:04 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671960604; bh=neNuOetzus0rbsxtPWNpmWpaX2Z3T0U/ka7229VR8ps=; h=From:To:Cc:Subject:Date:From; b=DO/1Cxqow7tGGkO+Kag8BBcYa/5MJsSY1sGzv6HeHVDhMvA8FLu9ctU99bR2+yVlS T/+ghoIDDNd9J03W/bb+auHcCyt+OGAm4StRQ09yqbdrtHiYQkPDF2gYFxIAt9Vwqt a/eZYB2MD8IXitEzx0UGHxkAxA/mUT4qfT8EGK/jd5Rw4xXZos0NQ6fjuxkBN9Mu9W lgcbbBF+hmcoIkTmhCRykqyplqOz6X13Ko67rfMUI1s+03cKW+JTxVVBc8Dwbz+Z2b H3U4EnUY4ExKntvURTwYHuKZSo0/Phhv7O/Y9hgmRmbN8Jzopf3Bxc3SW8o24alv9/ GQweGiFJTBeAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NfwcW6m1Kz9rxK; Sun, 25 Dec 2022 10:30:03 +0100 (CET) From: Ihor Radchenko To: tomas@tuxteam.de Cc: emacs-orgmode@gnu.org Subject: Re: org-persist files in /tmp In-Reply-To: References: <87len0uc7y.fsf@ucl.ac.uk> <87tu1ovlsn.fsf@localhost> <287345.1671683459@archlinux> <86pmcbigmt.fsf@gmail.com> Date: Sun, 25 Dec 2022 09:30:00 +0000 Message-ID: <87zgbbsuef.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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=1671960646; 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=xGPab2nce1U6PwZ/L7XmzyY211ApGBn17MTWu4vfpJY=; b=bMG+cGH6UKmTNciTR79Z17DQ+m9vLkX6jQomk+PxSh6BayZ/bVdcLrzkCh4Mfh3rWrsg2k cRbapdtROlRK0O59dkQY3PiBNjLERORCVBplF7tX+IkSWXDxnPP42HXi0rJW0FIxw/cPM4 6DycUP7cc/og85DAX8W+9Lx4YzZEg0jd2OnHcQFYF98Y3LFSMBCoAbFasveG4Nnzi33Mog pcSWoURlworkKFOme8qbj/99VgbRP+Knw7JByEGlyt/LjfM8GOa0ImdRaB8laT1b77KwWK p06/F0nikpDhPCGW4PsTG/joM6v4ko9YLYEcbOhWLzT0ZcV9EyWb9/lUdgG87A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="DO/1Cxqo"; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671960646; a=rsa-sha256; cv=none; b=L0n/Yhro1GxvPCLDTTo0KrfYiCDJBqqYMCUFezNyJ1PxurdpRsA8+l4OzifLgz+VLIaQ9O w+D7AfpqP5Ih3D+J4EFWmxgYjD1564zp2NltNTOi9/N+36uTZijIdI21leOM5avNRQDfzw ybYxlLmZ2Sinfq5XxmXT4qGmBjTViF3b6Ms1eZMXQmXJ8eL79l41Ihj/5ijZiP7PLvOstW vcd9PIEmWwFPUVplgKmwzos+NnhVOMgUsJYFL8c7LyUTrDIpoJ7J0KA0h2NCKN0awwC/VG NRFMHnWyWDwv3cfgTTehigV4TgUkc3PXADjVF6s4GO34eaE/VG6M61aRASD++Q== X-Spam-Score: -5.96 X-Migadu-Queue-Id: 3162F3B68B Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="DO/1Cxqo"; 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=pass (policy=none) header.from=posteo.net X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -5.96 X-TUID: 7Md6QvazIW8q writes: >> 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. org-element-cache-persistent > 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). The main reason we cannot disable org-persist is _not_ Org AST cache. The reason is mostly caching some downloaded files. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at