Skip to content

Very large syntax-highlighted files are slow to work with #47

Description

@waddlesplash

e.g. generate a 3000+-line diff by doing git diff HEAD~20 >out.diff in the Haiku repo, and try to use the resulting diff in Koder. It will spike to 100% CPU quite often as you page up/down/etc. through the file. Notepad++ handles such files perfectly fine, so the issue it seems is not with Scintilla.

Activity

  1. KapiX commented on Jun 28, 2018

    @KapiX
    Owner

    Yup, it's trailing space highlighting. Indicators are pretty slow, I should probably style the whole file and then diff only the visible portion when editing. Right now it changes every time screen updates (which is pretty much all the time). Try disabling it and see if it's better.

  2. added this to the 0.5.0 milestone on Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions