- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkBitsetOrig (0.25 sec)
-
src/math/big/int_test.go
} } func BenchmarkBitsetNeg(b *testing.B) { z := NewInt(-1) z.SetBit(z, 512, 0) b.ResetTimer() for i := b.N - 1; i >= 0; i-- { z.SetBit(z, i&512, 0) } } func BenchmarkBitsetOrig(b *testing.B) { z := new(Int) altSetBit(z, z, 512, 1) b.ResetTimer() for i := b.N - 1; i >= 0; i-- { altSetBit(z, z, i&512, 1) } } func BenchmarkBitsetNegOrig(b *testing.B) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0)