I have a text file I use quite a bit. It's in a dropbox folder if that matters.
It's about 2mb in size.
When I save it, the time it takes varies between about 4 and 10 seconds.
On the same machine, in the same folder a different text editor saves it instantaneously.
(The backup folder is on an SSD so should be quick.)
On an unrelated note, a simple search in the file takes 2 to 4 seconds to find a word at the end.
Not sure why the speed varies so much! (And no big background load.)
A different editor searches the same file instantaneously.
I'm using the latest version, but these issues have bothered me in past versions too.
Weird speed issues
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: Weird speed issues
So it's not really in the filesystem, but a resource on the internet (isn't that a whole drive to begin with, instead of only a folder?). File operations then rely on uploading and downloading data. The "different text editor" may recognize this and/or perform more optimized on to reduce file access, f.e. by reading/writing the whole file at once at the cost of using memory - have you checked in the Task Manager how both editors consume memory?
You said nothing about the file size - does this happen with any? Or just with tiny or big files?
Re: Weird speed issues
Actually I did say: it's about 2mb.
I just tried saving it with Windows' own notepad and it saved instantly, and I doubt notepad does anything tricky.
Last edited by AmigoJack on Mon May 08, 2023 12:45 pm, edited 1 time in total.
Reason: reducing full quote to relevant quote
Reason: reducing full quote to relevant quote
Re: Weird speed issues
Which version of TextPad are you using? Please try with the latest.
It loads files into memory all at once whereas some other editors do it asynchronously, seeming to be finished while they continue to load them in the background. The difference may be noticeable on network file systems which are constrained by the speed of the connection.
As to the slow search speed, what are you searching for? A match at the end of a 2MB document is instantaneous on my laptop.
It loads files into memory all at once whereas some other editors do it asynchronously, seeming to be finished while they continue to load them in the background. The difference may be noticeable on network file systems which are constrained by the speed of the connection.
As to the slow search speed, what are you searching for? A match at the end of a 2MB document is instantaneous on my laptop.