Skip to content

Cache Terminal in libsyntax #6827

Closed
@emberian

Description

@emberian

syntax::diagnostic::print_diagnostic currently parses the terminfo entry every time it is called, which is wildly inefficient and apt to create churn. Being an error/warning codepath, its efficiency is not key, but it'd be nice if the Terminal could be cached somewhere (TLS?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions