A turbulent, animated sorting benchmark written in Haskell, featuring a real-time battle between Tachyonic Quicksort and Tachyonic Insertion Sort. This program visualizes sorting performance using colorful ASCII bars, dynamic progress animations, and cosmic humor.
Make sure GHC is installed. To build and execute:
cd tachyonic_void
ghc -O2 tachyonic_void.hs -o tachyonic_void
./tachyonic_void [n]
Example:
cd tachyonic_void
ghc -O2 tachyonic_void.hs -o tachyonic_void
./tachyonic_void 1000
If no argument is provided, the program interactively prompts:
Enter upper limit (e.g., 5000):
Two algorithms compete:
tachyonicQsort
: A recursive Quicksort implementation.tachyonicIsort
: A recursive Insertion Sort implementation.System.CPUTime
.Abhrankan Chakrabarti