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

How do you change the amount of segments for each sorting algorithm? #13

Open
distay0xGit opened this issue Mar 11, 2019 · 3 comments
Open

Comments

@distay0xGit
Copy link

If there is a way to do that, then Bogo wouldn't be straining so much. [It's accessed the array 1.54B times, at 20,000x speed.]

@wingerse
Copy link

It's hardcoded to 1000 atm.

@distay0xGit
Copy link
Author

I just realized that " hardcoded" means "you can literally change it at startup by changing a small amount of code in the main array and drawing thread".

@distay0xGit
Copy link
Author

distay0xGit commented Feb 18, 2020

And also, another brief mention so I don't forget it later:
Array lengths cannot be changed.
Also, I do wish that the code could be optimized so that if the possibility that arrays can get their length changed, the code could run smoother on higher quantities of numbers.
Such as 1,048,576 numbers.

@distay0xGit distay0xGit reopened this Feb 18, 2020
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

2 participants