1
0
mirror of https://gitlab.com/Anson-Projects/anson-stuff/Go-v-Rust-Quicksort.git synced 2025-08-03 12:11:26 +00:00

generated dataset, cant commit due to size

This commit is contained in:
2022-04-01 13:45:28 -07:00
parent 364bcb0f88
commit a24ad4a2d1
3 changed files with 72 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ func Qsort(s []int) {
func main() {
sortSize := 1000000
sortSize := 50000000
// MAXGOROUTINES := 1
unsorted := make([]int, 0, sortSize)
@@ -103,7 +103,7 @@ func main() {
// MAXGOROUTINES = 1
start = time.Now()
unsorted = rand.Perm(sortSize)
// unsorted = rand.Perm(sortSize)
Cqsort(unsorted, 1)
duration = time.Since(start)