Skip to content

reason-mode-indent-line performance issue #28

Description

@shahinism

Issue:

Issuing indent command, the editor will hang forever. The only option to continue is canceling the command (Ctrl-g).

Setup

  • Emacs: 25.3.1
  • My emacs configuration can be found here

Profile

Here is profiling result on both CPU and Memory:
selection_029

update: The image includes more expanded tree, which shows maybe the issue is caused by the constant call of syntax-ppss function.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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