ArrayVisualizer icon indicating copy to clipboard operation
ArrayVisualizer copied to clipboard

Allow changing sorts mid-sort

Open Felthry opened this issue 4 years ago • 3 comments

It would be pretty neat to be able to experiment with doing, for example, an initial two or three passes of circle sort, and then change to insertion sort without reshuffling the data or resetting the timers/counters. Sort of a make-your-own compound sort algorithm.

Manually changing the sort (probably completing the current pass first before pausing and letting you select a new one) would be fine, but an option to say in advance you want to do n passes or (in recursive algorithms) n recurses deep, and then automatically switch to another sorting algorithm, would be especially fun to play with.

Felthry avatar Jul 18 '20 18:07 Felthry

I suppose, although admittedly this is not a high-priority idea for me. If you would like it sooner, you are welcome to submit a pull request!

MusicTheorist avatar Jul 19 '20 23:07 MusicTheorist

I'm afraid I don't have the programming skill to do so! I just thought it would be a nice feature to make a feature request for. Certainly not an urgent one.

Felthry avatar Jul 20 '20 13:07 Felthry

Alright!! Will think about it in the future.

MusicTheorist avatar Jul 20 '20 14:07 MusicTheorist