mergesorts
mergesorts copied to clipboard
time measurement for all versions in run.sh
How about some time measurements for the different versions? Currently it would measure compile time plus run time though.
So I wouldn't do this big code copy and paste. If you want this, the script needs a refactor.
Ok, here's my proposal? I'm 51% certain I didn't do anything stupid, looking forward to the next roast on your stream. :D
Still seams a little complex to the original script, is there any over way ?
Might not be really any simpler but it now keeps the consistent ordering on output. Though I'm not sure the way I'm extracting the language names would be recommended like that.
It's still very boilerplatey. This doesn't have to stay written in bash.
Well before changing to something completely different there's this simple way. Since the commands are typed and executed explicitly anyway there should be no problem with the eval.
If this thing ever gets resurrected ...final commit.