hi jussi:
i have just started using version 3.96r
i find that sorting is VERY much slower than version 3.96c even on a new machine that is 3 to 4 times as fast as the one i have been using until this week.
i use the sort a lot, so i hope you can fix this.
in the meantime, i intend to go back to 3.96c
omer
sort hangs on long list
-
- Posts: 39
- Joined: Wed Oct 27, 2004 5:37 am
How long is a long list 
Could you see if the same problem exists in this 3.96s beta version: http://www.zeusedit.com/z300/ze32v396s-beta.zip
Cheers Jussi

Could you see if the same problem exists in this 3.96s beta version: http://www.zeusedit.com/z300/ze32v396s-beta.zip
Cheers Jussi
-
- Posts: 39
- Joined: Wed Oct 27, 2004 5:37 am
slow sort in version 396r
Hi Jussi:
In my first message, I shouldn't have said "hung". It just took so long I THOUGHT it was hung.
The length of the list i was sorting was about 12,700.
I got version 3.96s beta and it seems to be fine.
Thanks again!
Omer
In my first message, I shouldn't have said "hung". It just took so long I THOUGHT it was hung.
The length of the list i was sorting was about 12,700.
I got version 3.96s beta and it seems to be fine.
Thanks again!
Omer
One thing to remember is the sort operation is a fully undoable event so doing big sorts does put some demand on the OS for memory.In my first message, I shouldn't have said "hung". It just took so long I THOUGHT it was hung.
You can see this demand if you take your 12,700 line file and run a sort and re-sort several times. Each subsequent sort will take longer as the size of the internal undo buffer grows in size.
As a side, note, you can flush the undo buffer by making a call to the UndoFlush keyboard function or alternatively closing then re-opening the file

Cheers Jussi
-
- Posts: 39
- Joined: Wed Oct 27, 2004 5:37 am
sorting
Hi Jussi:
I know about "fully undoable" etc. but thanks!
One thing that is curious to me is: after a number of sorts, it takes a long time to close, even after the file has been saved. It seems like it would just be a matter of releasing the memory. I always wonder what is going on.
Omer
I know about "fully undoable" etc. but thanks!
One thing that is curious to me is: after a number of sorts, it takes a long time to close, even after the file has been saved. It seems like it would just be a matter of releasing the memory. I always wonder what is going on.
Omer
That is pretty much all it is doingIt seems like it would just be a matter of releasing the memory. I always wonder what is going on.

For example if you run a few big sorts on a file and then run the UndoFlush you will notice the same delay. Also once the flush is complete you should notice the sorted file will now close instantly.
I think the slowness also relates to the fact that these undo events are held in a stack and as such the flush has to pop the event off stack before it can delete it.
Cheers Jussi
PS: I just ran this simple test and noticed a small bug in that the hourglass is getting displayed
