Subject: Re: bug#71012: 30.0.50; tree-sitter crash

From: "Basil L. Contovounesios" <[email-masked]>
Date: Tue, 27 Aug 2024 12:59:24 +0200

Yuan Fu [2024-08-24 15:30 -0700] wrote:

> Ok, after much struggle I settled with the easier option, which is to still use
> a temp buffer, but make sure Emacs garbage collects the temp buffer. I detailed
> the reasoning in the comment above Ftreesit_parse_string. I verified that the
> buffer gets collected when the nodes are collected, and pushed it to master.

Thanks, the snippet in https://bugs.gnu.org/71012#55 now runs quickly
and in linear time.

-- 
Basil