I came across a peculiar behavior of the "SORT M AS N" function.
If M contains mostly equal values, I found that the time to sort is growing rapidly.
E.g. Sorting an Array of 10000 with only 50 non zero numbers takes so long that the program seemingly stalls.
Furthermore you can not stop the sorting then. You have to stop the Smartbasic app itself !
"SORT M TO B" does not show this behavior.
Behavior of "SORT M AS N"
Re: Behavior of "SORT M AS N"
To illustrate: 2 examples
- Attachments
-
- SORT M TO IDX.txt
- (114 Bytes) Downloaded 32 times
-
- SORT M AS IDX.txt
- (114 Bytes) Downloaded 30 times
Re: Behavior of "SORT M AS N"
I had hoped that Mr. K would respond....
