From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gN42OEkC6GGsVAAAgWs5BA (envelope-from ) for ; Wed, 19 Jan 2022 13:21:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iFybNEkC6GFIlgAAauVa8A (envelope-from ) for ; Wed, 19 Jan 2022 13:21:29 +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 911613CB35 for ; Wed, 19 Jan 2022 13:21:29 +0100 (CET) Received: from localhost ([::1]:47938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nA9xw-0002pT-Pz for larch@yhetil.org; Wed, 19 Jan 2022 07:21:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nA9IO-0001OV-H9 for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 06:38:33 -0500 Received: from [2607:f8b0:4864:20::536] (port=44945 helo=mail-pg1-x536.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nA9IN-0002LY-1f for emacs-orgmode@gnu.org; Wed, 19 Jan 2022 06:38:32 -0500 Received: by mail-pg1-x536.google.com with SMTP id h23so2126799pgk.11 for ; Wed, 19 Jan 2022 03:38:30 -0800 (PST) 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=iE7bu7Q2IP34b8W4Rpvvk93a8AkHVXHeWaH1rCjlkAY=; b=aIKOSjI2WNX8cxpITUlF+d7u1/LCf5giksMr9TO9ZP2KrIQ056E4ofm9DeG8hAiaRO 3SfKbn72a0gCZ30O4MvfKKjopKKbOASblE1tX2J4/wHgXh4xCiNNjiEf8qq9rbvheaIW FLAzhgw6mwFVwbc0Ke/m7KzIZAxRCY+NVj0WXlyxLlYJMf39Fs0qXzSafQTZiAxRR7gZ SYD8XGbOfh2EBYoFwFZ8wpHoKuHUvKLizlP8MXhvuIq8Va2vEoLx/2cgjnm05uSDIsZJ tKx3M9GbdkFxVMwX/JCruWqXtJVs5hWl5efPMvCeDptHsASSkp0+m87oSpskx3fHww0+ 5gag== 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=iE7bu7Q2IP34b8W4Rpvvk93a8AkHVXHeWaH1rCjlkAY=; b=z+lGj5Ao4spGoOczTCCya8GsYh+iOfj0ks1PeSq0Jd00aVHyzcPqfVna3Wmak7GtRd /Wmu5T+uz5bRInXPE9yTQIfcn8LCXwZmjPyk0Eq180/hnGvezwdTKK5Ucn+97YVvRBlN L1Lpq2IGAIBTiQe4X2vdkknhv3q+NyrSCah0sa4/H2iSbqstcX+rHwDQ8PeBtnf5anXU KbHupqOgvgzEXIblbMaHtgsQ9kPwkPCiV68LyTf2zDYTNXpbZQ1DWYzMPJsRa9oQwqEw ErYNz7M5lqHLYOvi3sIjBsiPVjHkPx5/Ioly/6cHsZ3U6tXM/S7/9HKtIAW02f83FRyA EcdQ== X-Gm-Message-State: AOAM533UCe7PwjeocIIjwQ/c1lbHQH8+Xa2ckjXv0UFhoZYotkhBefiL vWJGZuN3iD/rtUzfOcbzfRA= X-Google-Smtp-Source: ABdhPJz7qHFEVkpzHiGIZbWX3l1oKC/UoQ0Z4O6A3vXO+ieHeBDpm76C1gnyV8Kmrx8fN4PW7dJFQA== X-Received: by 2002:a62:1c12:0:b0:4bc:6d81:b402 with SMTP id c18-20020a621c12000000b004bc6d81b402mr30204779pfc.40.1642592309656; Wed, 19 Jan 2022 03:38:29 -0800 (PST) Received: from localhost ([103.125.234.62]) by smtp.gmail.com with ESMTPSA id a21sm20100517pfl.209.2022.01.19.03.38.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jan 2022 03:38:28 -0800 (PST) From: Ihor Radchenko To: =?utf-8?Q?Andr=C3=A1s?= Simonyi Subject: Re: Yet another browser extension for capturing notes - LinkRemark In-Reply-To: References: <20201225142604.GC1140@maokai> <87pmool7zu.fsf@localhost> <87h7a0kpt2.fsf@localhost> Date: Wed, 19 Jan 2022 19:42:57 +0800 Message-ID: <87czkokl32.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::536 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::536; envelope-from=yantar92@gmail.com; helo=mail-pg1-x536.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: Max Nikulin , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642594889; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=iE7bu7Q2IP34b8W4Rpvvk93a8AkHVXHeWaH1rCjlkAY=; b=iFx7wqcz5jyVYdQpF4tQkjWMi5PDnbULrCDZwsXz43xIC6JM2FG76ajnLO4vdJgqFwkLIZ mcoWSGMfhFey+TxYsuUTGGmAZl6vZnAPxXL3xU+MJ4IUzxy/Xuv2J8r/8ICACFxKU/jTBb z9QvHY0xJj5HBT4UBuoucLYSnFNZ2w0yVmvjYShUU5i8En4IRz5/ouALkxHTSCmsaGqzkr Qo5BnycUP97gH4rIQngMX7p1kfJHP53+6yLE74dsjrErmOjI6mdfRlDqjYtxrYWH+c4d9W neduJiYImN7PBIWa7PclKXpOdOq1uXr/VsWQZHZ5WfbW3Hd772VNKQxUnZ5PGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642594889; a=rsa-sha256; cv=none; b=Z2qrSLwEUdyxRRKAhDPnRar7DsIr+W1Qy2HAPPr6ucVrpHpAJAVvedi6wnjAJcJNgb1NSh XbLsaRBtpPUM22j6Xx6OJUVZ4KsZIEBSo04W3JRkQkyxjDxJJ/1mJhK5YkLV7LWM9kgSJy eDYiY4sffWnIteWKKBwf82r8ePiB5FW48gOL5FZJSpnoDC5UfM8gE30ZIA/OEdRLuMEAjj lNrbUvprHpoISTgcWykvniUFjHQIS3h9gmbeDUG8eurwuHFDEkf4QxnyTIzeUCk2YAlvfs 4IyK6dwKRulMZi7FdpYQ6siuuIGEOh1+cQiQisJo5lOT7/FDx9XxPCRjo8eebA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aIKOSjI2; 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: -9.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=aIKOSjI2; 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: 911613CB35 X-Spam-Score: -9.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: f0acD/tVhu3U Andr=C3=A1s Simonyi writes: >> As a side note, citeproc-el currently has poor performance on large org >> files. It is unusable for me. > > Could you elaborate? In theory, oc-cs.el's performance should depend > only on the number of citations (as opposed to the size of the Org > document) and be in the same ballpark as pandoc's citeproc. It'd be > interesting to know the details since I plan to work on speeding up > citeproc-el's rendering, although you are the first one to actually > complain :-). There is no doubt why I complain - 15Mb "bibliography" file. The oc-csl.el performance depends on the size of the Org document during caching stage. Moreover, every time I change the Org document, caching is repeated. Every time I open the file using oc-csl.el, caching is repeated. Every time I revert file using oc-csl.el, caching is repeated. I think that the easiest solution for citeproc would be not calling org-bibtex-headline on every single headline, but using regexp search for "BTYPE" property. Best, Ihor