说到 tree-sitter 必须说明现有的动态模块都依靠 buffer-string 将文档给 tree-sitter 调用,每次编辑文档就会在内存中复制文档,效率很低,希望 tree-sitter 开发者能修复自定义 malloc 的 bug,这样也就能把 tree-sitter 内置到 emacs 中
说到 tree-sitter 必须说明现有的动态模块都依靠 buffer-string 将文档给 tree-sitter 调用,每次编辑文档就会在内存中复制文档,效率很低,希望 tree-sitter 开发者能修复自定义 malloc 的 bug,这样也就能把 tree-sitter 内置到 emacs 中