Using DelArray for an Array with 1000 Elements needs about 30 seconds to complete.
Is this a normal behavior?
I need the function because I am also doing Arraysort after reusing an array.
If the reused array has a lower number of members ArraySort is returning wrong results.
A possible solution could be telling ArraySort how many elements to use for sorting.
DelArray for large Arrays takes a long time
Moderators: JRL, Dorian (MJT support)
Well, problem isn't solved but I found a circumvention for my own case.
Because I am filling (refilling) the array from a file I inserted an old hint from this forum to sort the file before reading.
Works fast and has no impact
kdt
Because I am filling (refilling) the array from a file I inserted an old hint from this forum to sort the file before reading.
Code: Select all
Let>RP_WAIT=1
Let>RP_WINDOWMODE=0
Run>cmd.exe /c sort test.txt /O testsort.txt
kdt
Speed is good.kdtrog wrote:Works fast and has no impact

5 points to you for taking the time to share that for the benefit of all readers of the forums.
Thanks and take care
jpuziano
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
Note: If anyone else on the planet would find the following useful...
[Open] PlayWav command that plays from embedded script data
...then please add your thoughts/support at the above post -
