Skip to content

Instantly share code, notes, and snippets.

@chriseth
Last active July 23, 2021 21:59
Show Gist options
  • Save chriseth/4168b56bfe638cae8da1945dd988600b to your computer and use it in GitHub Desktop.
Save chriseth/4168b56bfe638cae8da1945dd988600b to your computer and use it in GitHub Desktop.
Gas costs for pairings
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chriseth
Copy link
Author

After having switched the sha256 implementation from "crypto++" to "scrypt", sha256 is about twice as fast.

@chfast
Copy link

chfast commented Mar 11, 2017

You probably should rerun the benchmarks with the new implementation. BTW, 2x speed up mean SHA256 will go from 50000 gas/ms to 100000 gas/ms, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment