- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for makeSortedStrings (0.24 sec)
-
src/sort/sort_slices_benchmark_test.go
b.StartTimer() slices.Sort(ss) } } func BenchmarkSortStrings_Sorted(b *testing.B) { ss := makeSortedStrings(N) b.ResetTimer() for i := 0; i < b.N; i++ { Sort(StringSlice(ss)) } } func BenchmarkSlicesSortStrings_Sorted(b *testing.B) { ss := makeSortedStrings(N) b.ResetTimer() for i := 0; i < b.N; i++ { slices.Sort(ss) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 22:59:40 UTC 2024 - 4K bytes - Viewed (0)