- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkArrayLen (0.26 sec)
-
src/reflect/benchmark_test.go
sinkAll.RawInt = sourceAll.MapStringAny.Len() } } func BenchmarkStringLen(b *testing.B) { for i := 0; i < b.N; i++ { sinkAll.RawInt = sourceAll.String.Len() } } func BenchmarkArrayLen(b *testing.B) { for i := 0; i < b.N; i++ { sinkAll.RawInt = sourceAll.BytesArray.Len() } } func BenchmarkSliceCap(b *testing.B) { for i := 0; i < b.N; i++ { sinkAll.RawInt = sourceAll.SliceAny.Cap()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Nov 19 17:09:03 UTC 2023 - 8.8K bytes - Viewed (0)