From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: Convert README.org to plain text README while installing package Date: Mon, 06 Jun 2022 09:33:46 +0800 Message-ID: <87o7z64ltx.fsf@localhost> References: <87leuca7v7.fsf@disroot.org> <87czfopmsd.fsf@gnu.org> <87h74ztshe.fsf@gmx.de> <871qw31ois.fsf@yahoo.com> <8735gj4ceo.fsf@gnu.org> <87leub5p6i.fsf@localhost> <87tu8yzl41.fsf@gnus.org> <87tu8y4nfm.fsf@localhost> <87leuazjka.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30805"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Tassilo Horn , Po Lu , Michael Albinus , Alan Mackenzie , Stefan Kangas , Akib Azmain Turja , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 06 03:34:08 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ny1d8-0007ix-Gu for ged-emacs-devel@m.gmane-mx.org; Mon, 06 Jun 2022 03:34:06 +0200 Original-Received: from localhost ([::1]:35396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ny1d6-00037d-VF for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jun 2022 21:34:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51630) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ny1cH-0002R3-W3 for emacs-devel@gnu.org; Sun, 05 Jun 2022 21:33:14 -0400 Original-Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:35757) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ny1cG-0007jI-D5; Sun, 05 Jun 2022 21:33:13 -0400 Original-Received: by mail-pf1-x434.google.com with SMTP id u2so11572669pfc.2; Sun, 05 Jun 2022 18:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=w6yFdoYrvmQ8nXxYPAZyv22UCnReUzuk3Q17mhHO2A0=; b=klKWMvxv3pj/hqwxlep9t1VVaunISQrNXUjvHH0go2IW/4FKJazALA3lOEnJpbAn+b gcGYy419ui3BGUhY6maqsN02GUrHuz01P+EN5XeztSx2meeQE/TV9/bOto6B0CZb353V Mtpzq9kVl3DJ4JvXl54JsXl+9uPXOFLYE38vNQELLyXMoL5fITV3QaAnXCcnlv20SUnr 44xzV4MvjWJmCKOPKeILbaxT4h+QefGfjL21y9g7+frrhQlUOgqpJ4L9NDnXPEmOG6Tm JB4AdlM+QA/zvVu6Xd92V4rxdZ5lkkr8gy8InVq0iK5XZh4v0arNC+BD9HMjAlw4OtNr /3WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=w6yFdoYrvmQ8nXxYPAZyv22UCnReUzuk3Q17mhHO2A0=; b=hU22srqEfBbA2mMMmqcP9CLWRz/M9hrOvyxOKFcqiJbK5wvZdBRvRlk5AxC7aDzuyn FAWha1WrZWLVBl5ugHfwvBHnCvwJs3RcvMuTKh3vQL39Af/cEUkveG8G9fitOt57qI+w t1ZKeIPpgxsUCHTnNO8638XxJ7VEUZJaVZkYQ84p1Irvuy/Oxitb0MBO/shwLZZclVFV hID3MELTSGt8Rhicx0foned8OPGzS6mINy6XORSHBuFAJ7k0lOHL5i3BJ4fVrjda0TeM C9YUim1uOek8eWX0siyqxF9mmOYYGOqrkXJUdToy5QU2KhdZ05BR/JjmZff5DMXNLaj2 xUOA== X-Gm-Message-State: AOAM530r0VrPUw4eRk64QctvH6+2wKymrNQsFK3DuM7Q9Cf+Vvx01rUT CHAAlh7v5w5Pj0wflVPywIE= X-Google-Smtp-Source: ABdhPJzG6rwa+Yv7n+zrroIbIn1x5k42ViwOuXk/tF37UF6fx8zPkhjDagbgH/gravyghu1g9igbCw== X-Received: by 2002:a63:2686:0:b0:3fc:98b0:a950 with SMTP id m128-20020a632686000000b003fc98b0a950mr19630039pgm.194.1654479190753; Sun, 05 Jun 2022 18:33:10 -0700 (PDT) Original-Received: from localhost ([208.115.232.2]) by smtp.gmail.com with ESMTPSA id v14-20020a17090a520e00b001e87dfca1e2sm995436pjh.1.2022.06.05.18.33.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jun 2022 18:33:10 -0700 (PDT) In-Reply-To: <87leuazjka.fsf@gnus.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=yantar92@gmail.com; helo=mail-pf1-x434.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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290764 Archived-At: Lars Ingebrigtsen writes: > Ihor Radchenko writes: > >> In short, no. > > Is that a challenge? =F0=9F=98=80 Sorry, I do not understand what you mean here. >> And even if that job is done, we cannot remove links from the parser. >> Yet, according to the previous benchmarks in this thread, loading links >> (that is what org-modules contains by default) is giving the largest >> overheads. > > What do you mean by "links" in this context? In this specific paragraph, I was referring to file:, id:, help:, and https: links. They (except help:) can be easily found in various README files. Setting up links involves allocation of fairly large strings (see org-element--set-regexps), which, I suspect, is creating a lot of load on Emacs GC and slowing down the loading (especially when Emacs session is already running for some time and GC must sweep across all the available objects). Best, Ihor