From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 WAHfIdUk5mIuDwEAbAwnHQ (envelope-from ) for ; Sun, 31 Jul 2022 08:44:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8KDjIdUk5mImCQEA9RJhRA (envelope-from ) for ; Sun, 31 Jul 2022 08:44:37 +0200 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 2D56DC46D for ; Sun, 31 Jul 2022 08:44:37 +0200 (CEST) Received: from localhost ([::1]:56570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI2gl-0002NW-VL for larch@yhetil.org; Sun, 31 Jul 2022 02:44:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI2eZ-0002NM-U5 for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 02:42:20 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:40656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oI2eX-0001Zi-7S for emacs-orgmode@gnu.org; Sun, 31 Jul 2022 02:42:19 -0400 Received: by mail-pj1-x1034.google.com with SMTP id s5-20020a17090a13c500b001f4da9ffe5fso2040248pjf.5 for ; Sat, 30 Jul 2022 23:42:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=z9fDXj+3Bf4Sa9IgBe3XhPBHMyrKJSPq22Zq6Rcjrps=; b=jh0lTWLsmM0IG3Q271RrmiglxZqnUO8toso8JJZ67zlqseO5aSHBde9TIMzFjS4noU I3ivvVk3HzFZZJO9KQPdUXVVAc9CwBD7onkYXMiB88WmQAZp4ry+d7lRflEZFWujUTpN L4kXcXlHkeCA6uI7RTH2C6YMsGu0CYSNc9xRHUxNrGs4bGkLA4JbY0vX+gb3h5Fy+aEG 7s6X/npt3HcN/Ys1QCRkYFdJLn3RTFlaWoHMBYd2aOwY54PULhXMK/Z2DG/Va7mkWhuI i3aG+mnSDkrlcJLNjZGWBoSQoqC+tXOoThr4KUha85qB1RdCqw9btUBBVh1vYIqTb4SM D64g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=z9fDXj+3Bf4Sa9IgBe3XhPBHMyrKJSPq22Zq6Rcjrps=; b=E6Vt78K5AMy5PMq9vDeJhtghyfsbWBtk3YaxWV3fzjXgMWGIOHd5B3JSZo638yvrf+ 7WmLRwKccf1gzEcayd9gzXiPGh9ckYkMG0SXJ2Wz4ylL3KxnzsruKUkBJjKD0qLzD71M v2nqD7KIas9Zqz9sOHGjT7ywVYdUp8CZc0VmzqEES5RQMp1I5gZ1ZsWATCOK+hstBtTn zkfEwbsSbIVuNFEiXLwRoKVFiZTDZBOPIJfMkBfaSkz+4C5Rpf6y5U/RAamBWBDJMqr7 74A5TkFTN6YM960NCiEaLLk7K0zXUxl777HK83EVvH4AHLIVh+rXq9K0tjANnamwQP+/ 62vA== X-Gm-Message-State: ACgBeo22WK4zjHuUZhL8sq9QY3CUPMyzGi6dAtCekCXdqwGy25oSU6Z/ 3BlCFNFFDsrwXrWuPJOv17ikjE+SaeZ+1g== X-Google-Smtp-Source: AA6agR7Ek8pK7TqAmE2827nm1qN9kltwDVqjqaEdcCRJZT1jm/Qa/s5lL7H2WmgzUsbPNP1SfVd/OA== X-Received: by 2002:a17:902:b494:b0:16d:2f8b:6f76 with SMTP id y20-20020a170902b49400b0016d2f8b6f76mr10929254plr.48.1659249735451; Sat, 30 Jul 2022 23:42:15 -0700 (PDT) Received: from localhost ([1.83.155.1]) by smtp.gmail.com with ESMTPSA id 123-20020a620481000000b0052c8ea02d01sm5736219pfe.219.2022.07.30.23.42.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Jul 2022 23:42:14 -0700 (PDT) From: Ihor Radchenko To: emacs-orgmode@gnu.org Subject: Re: [RFC PATCH 0/2] Make org-babel-tangle usable in after-save-hook on large org buffers In-Reply-To: References: Date: Sun, 31 Jul 2022 14:43:15 +0800 Message-ID: <87y1w9n5oc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659249877; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=z9fDXj+3Bf4Sa9IgBe3XhPBHMyrKJSPq22Zq6Rcjrps=; b=Ys/rylZOis82w0y6fhwymyuN27NsAJeNk8TjfUBhA4XyahVjt4y80HkUMGYabnHCGR1bTh BhDW4YKXdvIZ33d4caEJaVZ1oizlIa2Gx8yImRtCkuETnszHlRzhkXa0TvQTXbfCaZTXkJ LIzyHmoYFKMp6JInIebhSYr4AzteKs+6HTcvsM0VExWyj8RjUqNk5/6F76QbwXtSX1+b4O tJ2sU9P4EPPiXwjUgtvSh4hVZafDQrMReimbokd1wqVFYhG7HzGXuzrV647GqF71541Umi zCj/trFhadNLLww/Tmm6Wh0m3KyqRdrnC4o7GQQCNO53eoc0THWCegxAnP8pWg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659249877; a=rsa-sha256; cv=none; b=F5I+N1GWfFMGYw0gzH6UH8lWQ7pdtlbnx8usWZ1KCS4+jw8s1olvN58rvhLV+oNmvUdp6n Xaki7ST6rogCXiGqKsombelRtnOE6BxnTUNZyEOnWJXU2gVox5Lb56a3H+BFXyxSb+vTGL KtKb/iAC69sjj2qfnMmCJ9K2Gl4pQ72wBay0JK0wIKNSB5bj4/e+QjiZ9pTRg64HyIrApx SU47xHc1YIBZM+23iR5E5CwDod7fyh1Fbs0OExsyoMljRvlloCOakVued75PBLCmOGQ8Wf fY3uFH9KTzaPXxpb73101CSX/9zniaGC6CAgFqyI245GZStcd+AGcqS3kgafPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jh0lTWLs; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jh0lTWLs; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 2D56DC46D X-Spam-Score: -1.92 X-Migadu-Scanner: scn1.migadu.com X-TUID: o6NwE6pA4uzb Ihor Radchenko writes: > I would like to send an experimental patch improving performance of > org-babel-tangle. The patch contains two major changes: > 1. org-babel-tangle-single-block will not try to parse LINK to src > block when :comments is set to "no" and simple return nil in > relevant slot of the parsed src block structure. > 2. org-babel-expand-noweb-references cache will be saved between the > function calls (reset on buffer edits) Applied onto main via 0435fea9a and 0d3bf2ed4. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0d3bf2ed491ab2828ca1a2c42ea0d4e457c32bd4 https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0435fea9a8f4d65524ee8a8dd4e6829a70ff6e20 Best, Ihor