Skip to content

Editing some large files in the Zig compiler is very slow #583

Description

@alexrp

Per the title, doing any kind of editing on large source files in the Zig compiler is very slow. On these files, every keystroke takes anywhere from half a second to several seconds to be fully processed.

src/codegen/x86_64/CodeGen.zig is the worst offender, but src/Sema.zig is also quite bad.

This happens even with LSP disabled, so it doesn't appear to be an issue in ZLS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions