MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / BenchmarkDefaultPolynomial

Function BenchmarkDefaultPolynomial

math/pollard_test.go:66–70  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

64}
65
66func BenchmarkDefaultPolynomial(b *testing.B) {
67 for i := 0; i < b.N; i++ {
68 DefaultPolynomial(big.NewInt(535))(big.NewInt(11235))
69 }
70}
71
72func BenchmarkRho(b *testing.B) {
73 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

DefaultPolynomialFunction · 0.85

Tested by

no test coverage detected