[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
Eli Zaretskii |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Sat, 05 Jun 2021 09:32:28 +0300 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: João Távora <joaotavora@gmail.com>, Eli
> Zaretskii <eliz@gnu.org>,
> emacs-devel@gnu.org
> Date: Fri, 04 Jun 2021 20:29:02 -0400
>
> > Besides, memory copies are really, really, ridiculously fast. My system can
> > cat from /dev/zero to /dev/null at ~18GB/sec. Copying a buffer's contents
> > so we can give it to tree-sitter should be no issue at all.
>
> Yes, beside the potential difficulty of giving direct access to the
> buffer's content, there's the fact that the time needed to make a copy
> will be dwarfed by the time needed by tree-sitter to parse it, turn it
> into a tree, and for us to process the returned parse tree
Are you sure? Tree-sitter advertises itself as being very fast in
that department. Do we have any benchmark somewhere showing its
parsing speed?
- Re: cc-mode fontification feels random, (continued)
- Re: cc-mode fontification feels random, João Távora, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/04
- Re: cc-mode fontification feels random,
Eli Zaretskii <=
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Daniel Colascione, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/04
Re: cc-mode fontification feels random, Ergus, 2021/06/04
Re: cc-mode fontification feels random, Alan Mackenzie, 2021/06/04