Sublime Forum

Replace verrrry slow

#1

I have a file which contains compressed CSS – you know, all comments and extraneous whitespace stripped, etc. Anyway, it’s all on one line and about 41000 characters long.

When I want to compare it to another file, I need to split it onto new lines so I run this:

Replace: "}" With: "} "

That is, in the “replace with” dialog I type “}” and then press numpad enter.

There’s only 485 matching braces, but when I execute the replace, it hangs the program for about 30 seconds before completing.

64-bit Linux version 2144, running on Ubuntu.

0 Likes

#2

I also have issues with large SQL files (over 1 MB).
If I’m disabling syntax highlight (and use plain text) is lighting fast.

0 Likes

#3

Also try with “highlight matches” off…

0 Likes