Subject: bug#59738: c-ts-mode is slow with large buffers.

From: Eli Zaretskii <[email-masked]>
Date: Wed, 07 Dec 2022 16:58:08 +0200

> Cc: [email-masked]
> Date: Wed, 07 Dec 2022 16:34:13 +0200
> From: Eli Zaretskii <[email-masked]>
> 
> > Date: Thu, 1 Dec 2022 11:50:05 +0000
> > From: Alan Mackenzie <[email-masked]>
> > 
> > Hello, Emacs.
> > 
> > In an up to date (2022-11-30) master started as $ emacs --no-desktop:
> > 
> > The file .../drivers/gpu/drm/amd/include/asic_reg/dce/dce_12_0_sh_mask.h
> > in the Linux source tree is 6.8 MB big, consisting of a large number of
> > #defines and comments, but nothing else.
> 
> Please post the file (compressed), or tell how to access it on your
> machine.

And, btw, please do the benchmarks on the release branch, since it
will be released much sooner than master, and because the main work on
the tree-sitter supported modes is on the release branch.