You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hacked in support for an option where the first 90% of your data is sorted and the last 10% is random to better demonstrate a situation in which Timsort is better than Mergesort. Here is the commit where I hacked it in:
Note that I did it by simply replacing the random shuffle in the codebase with my own. In other words, it's a horrible hack that should never go in. However, maybe a dropdown should be added with something like this? If there's interest I could try to do that myself (or someone else could probably do it much quicker), but I didn't want to go down that road blindly since I'm apparently entirely incompetent at programming with wx.
In any case, here's the video that I made which was the reason for my hack in the first place:
I hacked in support for an option where the first 90% of your data is sorted and the last 10% is random to better demonstrate a situation in which Timsort is better than Mergesort. Here is the commit where I hacked it in:
ApproximateIdentity@1e523ba
Note that I did it by simply replacing the random shuffle in the codebase with my own. In other words, it's a horrible hack that should never go in. However, maybe a dropdown should be added with something like this? If there's interest I could try to do that myself (or someone else could probably do it much quicker), but I didn't want to go down that road blindly since I'm apparently entirely incompetent at programming with wx.
In any case, here's the video that I made which was the reason for my hack in the first place:
https://www.youtube.com/watch?v=ZxLxf5xqqyE
By the way, thanks so much for the great software!
The text was updated successfully, but these errors were encountered: