03-04-2023, 06:47 PM
Part of the bottleneck for my routine comes from converting to string to store the index and then reading it back. (But, it's a working example of using an array inside an array, which everyone has been talking about for the past month in the other post...) If we didn't have to worry about tracking the other 2 elements in your custom type, all we'd have to do is count the values instead of storing them and there wouldn't be any type of string conversion involved in the process. As it is, QB64's string overhead is slowing us down to the point where Qsort is faster this time around.