Community
    • Login

    Search upper direction is DAMM slow...

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 834 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Shin-ichiroh SakagamiS Offline
      Shin-ichiroh Sakagami
      last edited by

      When I search LONG text file about tens of million line, (Robot Log File) search function to downward, it’s very fast.
      BUT, upward search is VERY VERY SLOW!!!
      This problem is big stuff for me.
      Please tell me what to solve it.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Shin-ichiroh Sakagami
        last edited by

        @Shin-ichiroh-Sakagami ,

        I just created a text file (Language > None (Normal Text)) with ~16M copies of the line this is just one line, with 1 in 1024 having -- with extra appended to the end.

        When I search forward or backward for extra (SearchMode=Normal, not Regular Expression), it takes the same amount of time to search forward or backward. It’s definitely slow – as is everything when dealing with 10M lines – especially for Ctrl+HOME or Ctrl+END, but I don’t notice any difference between forward and backward search.

        You might check your Settings > Preferences > Performance settings, and see if any of those help. If your log file is being syntax highlighted, you might want to change the performance threshold so that it’s not syntax highlighted, and it might speed up.

        (If you were using Regular Expression search mode, and you had done the power-user config to allow backward regex, you need to know that backwards regex are not as efficient as forward, because the regex engine wasn’t optimized for backwards search.)

        1 Reply Last reply Reply Quote 2

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors