core/vm: optimize copy-less data retrievals

This commit is contained in:
Péter Szilágyi
2017-08-14 17:08:49 +03:00
parent d8aaa3a215
commit f8d8b56b28
4 changed files with 75 additions and 54 deletions

View File

@@ -325,7 +325,7 @@ func TestPrecompiledBn256Pairing(t *testing.T) {
}
// Behcnmarks the sample inputs from the elliptic curve pairing check EIP 197.
func BenchmarkPrecompiledPairing(bench *testing.B) {
func BenchmarkPrecompiledBn256Pairing(bench *testing.B) {
for _, test := range bn256PairingTests {
benchmarkPrecompiled("08", test, bench)
}