From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms11 with LMTPS
	id MMcoNviEJ2BjLAAA0tVLHw
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 13 Feb 2021 07:51:20 +0000
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id GGHSMfiEJ2B/UwAAB5/wlQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 13 Feb 2021 07:51:20 +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 4FDCC1F707
	for <larch@yhetil.org>; Sat, 13 Feb 2021 08:51:20 +0100 (CET)
Received: from localhost ([::1]:51082 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1lApi2-0004tp-4Y
	for larch@yhetil.org; Sat, 13 Feb 2021 02:51:18 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:56420)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1lAphJ-0004td-Gj
 for emacs-orgmode@gnu.org; Sat, 13 Feb 2021 02:50:33 -0500
Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:36050)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1lAphB-0004Gb-7g
 for emacs-orgmode@gnu.org; Sat, 13 Feb 2021 02:50:32 -0500
Received: by mail-lf1-x135.google.com with SMTP id f1so2791725lfu.3
 for <emacs-orgmode@gnu.org>; Fri, 12 Feb 2021 23:50:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version; bh=ZWCyljzrtLRa76DCalvxbQqaebSME8kbJ7pWSM+IUMs=;
 b=ku6+u/qSPBeLCCkwZYbxmJQLnbuhOi0ZhcK40Y+nH/7XxxK6CwQgShKkSohWY5AmBA
 EfyE1F3+9O03EelJATBUy58F1+Y5e3QfpUrq/peKKwHCD10dBU/qMbNR+2io2mziww2S
 D/ecdc1IpKnJQqmeY8mtPpirhmDSwQI/bYJCwJ/HOsjcU+kPD+TPxjwjX0fJn3ClnmjR
 zeStsdneDLcIVI34zZt3lvJRUp5ZEL/PNY+mk+QQXUBymhxQ+YDRyW3MZZAyBNF438Us
 Dx+NMj4L63dNEznXnZId1rBCTIfYd9rzVaS0mDO8snQyXydLpoaJu/Try6SmLIIEtRAk
 46xQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=ZWCyljzrtLRa76DCalvxbQqaebSME8kbJ7pWSM+IUMs=;
 b=PDn4U4oJtwRvbuWvVhpIpioACexPLzmHEyUIYxdbiWU/dT22uo+ugbXZsBZOG6CukZ
 Rc0uAKJIhgXC/nCSEb2sDL51GYaxVW5ZEUl+bRm2lB1n3QwuNVFUSI8T89wB0dFXiyCq
 GMw0/lu4nmdHYpJWO9dX3IM26KuqT/sqwl6V1vsXshWCtrFryhjfGirzfOpmTa2CBEg+
 v0mpbxIrCd9g+7wUepWT7HzWsbIv/KE+FZv58garb8Cq4xYwFASZoZL25FEl5RpvQAi4
 8hWpFJor3XsXOrklY5yD6X9EFFX6J8SA1akaP1bK37ySQFo3e0tcIWH9UKmhsG2s84Wr
 Q/EQ==
X-Gm-Message-State: AOAM530UrWuSbMOcTVG/R1coiageHxPWQBz/YABLZTQWN5XHo9F2nRZZ
 0uAMMrGBejaJCVqSfw8oxKc=
X-Google-Smtp-Source: ABdhPJyapuis2XwfLyXNseEyUChjOjImUv9vtHiShnPGHm7tXtIIyNZLJSrymi1F/92xZC6rMzxRvg==
X-Received: by 2002:ac2:434d:: with SMTP id o13mr3615829lfl.410.1613202622998; 
 Fri, 12 Feb 2021 23:50:22 -0800 (PST)
Received: from localhost ([158.255.2.2])
 by smtp.gmail.com with ESMTPSA id z4sm1664282lfd.172.2021.02.12.23.50.21
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 12 Feb 2021 23:50:22 -0800 (PST)
From: Ihor Radchenko <yantar92@gmail.com>
To: Christopher Miles <numbchild@gmail.com>
Subject: Re: Is it possible to optimize Org Mode org-activate-links ?
In-Reply-To: <PAXPR08MB6640F9A31608E3D1A737FCA2A38A9@PAXPR08MB6640.eurprd08.prod.outlook.com>
References: <DB9PR08MB6633F71EB92F19628DD1E598A38A9@DB9PR08MB6633.eurprd08.prod.outlook.com>
 <87eehktze5.fsf@localhost>
 <PAXPR08MB6640F9A31608E3D1A737FCA2A38A9@PAXPR08MB6640.eurprd08.prod.outlook.com>
Date: Sat, 13 Feb 2021 15:54:26 +0800
Message-ID: <87tuqgbdxp.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::135;
 envelope-from=yantar92@gmail.com; helo=mail-lf1-x135.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: Org Mode <emacs-orgmode@gnu.org>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Spam-Score: 0.24
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b="ku6+u/qS";
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org
X-Migadu-Queue-Id: 4FDCC1F707
X-Spam-Score: 0.24
X-Migadu-Scanner: scn0.migadu.com
X-TUID: zwG3w1O74GmY

Christopher Miles <numbchild@gmail.com> writes:
> Should I use the following options? I saw the warning. Does this freeze happens often? I decide to try it.

Setting org-element-use-cache to t should be enough to see differences.

Best,
Ihor