emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Re: Bug: Plain https links with brackets are not recognised


From: Maxim Nikulin
Subject: Re: [PATCH] Re: Bug: Plain https links with brackets are not recognised [9.4.4 (release_9.4.4-625-g763c7a @ /home/yantar92/.emacs.d/straight/build/org/)]
Date: Wed, 17 Mar 2021 21:59:53 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

On 16/03/2021 19:35, Ihor Radchenko wrote:

I am testing the new regexp for a few days now. Because the regexp is
quite complex and because font-lock apparently fontifies even invisible
(folded) text, loading time on large org files with many links became
noticeably longer. Though it was 7.2Mb file with ~13k links in it.

I could not guess how to benchmark font-lock. I have tried to open file (to get everything loaded), kill the buffer,

emacsclient --eval '(progn (setq my-start (float-time)) (find-file "file.org") (- (float-time) my-start))'

but I see some changes in the buffer after 0.19 is reported (both with and without the patch). However I have not converted bracketed links into plain ones yet. I was going to try if some tricks could improve performance. E.g. I am curious if it will work noticeably faster when no nested parenthesis are allowed, but single ones may be at any position, not necessary at the end.

Are changes in white spaces below actually modified lines in your patch intended?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]