Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of partially sorted data to options? #13

Open
ApproximateIdentity opened this issue May 18, 2018 · 0 comments
Open

Addition of partially sorted data to options? #13

ApproximateIdentity opened this issue May 18, 2018 · 0 comments

Comments

@ApproximateIdentity
Copy link

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!

@ApproximateIdentity ApproximateIdentity changed the title Addition of partially sorted data to datatypes? Addition of partially sorted data to options? May 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant