* Re: master c916f471caa 2/3: Add tree-sitter performance note
[not found] ` <20230914011540.707B4C04DAF@vcs2.savannah.gnu.org>
@ 2023-09-14 1:43 ` Po Lu
2023-09-14 4:08 ` Yuan Fu
0 siblings, 1 reply; 3+ messages in thread
From: Po Lu @ 2023-09-14 1:43 UTC (permalink / raw)
To: emacs-devel; +Cc: Yuan Fu
Yuan Fu <casouri@gmail.com> writes:
> branch: master
> commit c916f471caada4eb9a4b7f9f53925a71525c694a
> Author: Yuan Fu <casouri@gmail.com>
> Commit: Yuan Fu <casouri@gmail.com>
>
> Add tree-sitter performance note
> ---
> admin/notes/tree-sitter/performance | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/admin/notes/tree-sitter/performance b/admin/notes/tree-sitter/performance
> new file mode 100644
> index 00000000000..0e8351403af
> --- /dev/null
> +++ b/admin/notes/tree-sitter/performance
> @@ -0,0 +1,12 @@
> +TREE-SITTER PERFORMANCE NOTES -*- org -*-
> +
> +* Facts
> +
> +Incremental parsing of a few characters worth of edit usually takes
> +less than 0.1ms. If it takes longer than that, something is wrong. There’s one time where I found tree-sitter-c takes ~30ms to incremental parse. Updating to the latest version of tree-sitter-c solves it, so I didn’t investigate further.
Shouldn't this paragraph be filled to 72 columns, as you have done in
the next one?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: master c916f471caa 2/3: Add tree-sitter performance note
2023-09-14 1:43 ` master c916f471caa 2/3: Add tree-sitter performance note Po Lu
@ 2023-09-14 4:08 ` Yuan Fu
2023-09-14 4:18 ` Po Lu
0 siblings, 1 reply; 3+ messages in thread
From: Yuan Fu @ 2023-09-14 4:08 UTC (permalink / raw)
To: Po Lu; +Cc: emacs-devel
> On Sep 13, 2023, at 6:43 PM, Po Lu <luangruo@yahoo.com> wrote:
>
> Yuan Fu <casouri@gmail.com> writes:
>
>> branch: master
>> commit c916f471caada4eb9a4b7f9f53925a71525c694a
>> Author: Yuan Fu <casouri@gmail.com>
>> Commit: Yuan Fu <casouri@gmail.com>
>>
>> Add tree-sitter performance note
>> ---
>> admin/notes/tree-sitter/performance | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/admin/notes/tree-sitter/performance b/admin/notes/tree-sitter/performance
>> new file mode 100644
>> index 00000000000..0e8351403af
>> --- /dev/null
>> +++ b/admin/notes/tree-sitter/performance
>> @@ -0,0 +1,12 @@
>> +TREE-SITTER PERFORMANCE NOTES -*- org -*-
>> +
>> +* Facts
>> +
>> +Incremental parsing of a few characters worth of edit usually takes
>> +less than 0.1ms. If it takes longer than that, something is wrong. There’s one time where I found tree-sitter-c takes ~30ms to incremental parse. Updating to the latest version of tree-sitter-c solves it, so I didn’t investigate further.
>
> Shouldn't this paragraph be filled to 72 columns, as you have done in
> the next one?
Indeed it should. Thanks for catching this. I use word-wrap so filled and unfilled paragraph look the same to me, apparently I forgot to fill this paragraph.
Yuan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: master c916f471caa 2/3: Add tree-sitter performance note
2023-09-14 4:08 ` Yuan Fu
@ 2023-09-14 4:18 ` Po Lu
0 siblings, 0 replies; 3+ messages in thread
From: Po Lu @ 2023-09-14 4:18 UTC (permalink / raw)
To: Yuan Fu; +Cc: emacs-devel
Yuan Fu <casouri@gmail.com> writes:
> Indeed it should. Thanks for catching this. I use word-wrap so filled
> and unfilled paragraph look the same to me, apparently I forgot to
> fill this paragraph.
OK, thanks. I truncate long lines :-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-14 4:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <169465413983.20865.4955758569389021990@vcs2.savannah.gnu.org>
[not found] ` <20230914011540.707B4C04DAF@vcs2.savannah.gnu.org>
2023-09-14 1:43 ` master c916f471caa 2/3: Add tree-sitter performance note Po Lu
2023-09-14 4:08 ` Yuan Fu
2023-09-14 4:18 ` Po Lu
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).