Skip to content

Instantly share code, notes, and snippets.

Avatar
🐺
auribus teneo lupum

François Garillot huitseeker

🐺
auribus teneo lupum
View GitHub Profile
View flamegraph.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:8f66c293bc5b231932dca3544460feec
impl<P: Fp64Parameters> From<u128> for Fp64<P> {
fn from(other: u128) -> Self {
let mut default_int = P::BigInt::default();
if 1 == 1 {
default_int.0[0] = (other % u128::from(P::MODULUS.0[0])) as u64;
} else {
let upper = (other >> 64) as u64;
let lower = ((other << 64) >> 64) as u64;
--
impl<P: Fp64Parameters> From<i128> for Fp64<P> {
View gist:1f1cc7a70d02709889b9a0dfa180f2cd
Updating crates.io index
Compiling autocfg v1.0.1
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling syn v1.0.55
Compiling rand_core v0.5.1
Compiling ucd-trie v0.1.3
Compiling ppv-lite86 v0.2.10
Compiling libc v0.2.81
Compiling cfg-if v1.0.0
View gist:413013073c2c81e8999e77c1cb37c5b8
Compiling autocfg v1.0.1
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling syn v1.0.55
Compiling cfg-if v1.0.0
Compiling libc v0.2.81
Compiling getrandom v0.1.16
Compiling ucd-trie v0.1.3
Compiling ppv-lite86 v0.2.10
Compiling lazy_static v1.4.0
View gist:cd63c76a4e53c2f4bbf19f9ca29f4eba
Checking tinytemplate v1.1.0
Compiling serde_derive v1.0.118
Checking csv v1.1.5
Compiling zeroize_derive v1.0.1
Compiling ark-ff v0.2.0 (/home/huitseeker/tmp/algebra/ff)
Checking ark-serialize v0.2.0 (/home/huitseeker/tmp/algebra/serialize)
error: failed to run custom build command for `ark-ff v0.2.0 (/home/huitseeker/tmp/algebra/ff)`
Caused by:
process didn't exit successfully: `/home/huitseeker/tmp/algebra/target/debug/build/ark-ff-e58200c42957bcdd/build-script-build` (exit code: 101)
View gist:93ce32deae4051e617951d9a5a9998fd
Compiling autocfg v1.0.0
Compiling cfg-if v0.1.10
Compiling libc v0.2.70
Compiling lazy_static v1.4.0
Compiling serde v1.0.110
Compiling byteorder v1.3.4
Compiling version_check v0.9.2
Compiling typenum v1.12.0
Compiling semver-parser v0.7.0
Compiling maybe-uninit v2.0.0
View gist:eb68ce45c895bf2699da5e80622ead1e
Compiling autocfg v1.0.0
Compiling cfg-if v0.1.10
Compiling libc v0.2.70
Compiling serde v1.0.110
Compiling lazy_static v1.4.0
Compiling byteorder v1.3.4
Compiling typenum v1.12.0
Compiling version_check v0.9.2
Compiling maybe-uninit v2.0.0
Compiling semver-parser v0.7.0
View gist:d3c7a30fa90fdb43d2815eb4b63a7205
group fiat_u64 master
----- -------- ------
Batch Ristretto double-and-encode/1 1.00 3.7±0.02µs ? B/sec 1.07 3.9±0.02µs ? B/sec
Batch Ristretto double-and-encode/16 1.08 11.5±0.02µs ? B/sec 1.00 10.7±0.06µs ? B/sec
Batch Ristretto double-and-encode/2 1.00 4.3±0.02µs ? B/sec 1.06 4.6±0.03µs ? B/sec
Batch Ristretto double-and-encode/4 1.00 5.1±0.02µs ? B/sec 1.05 5.3±0.02µs ? B/sec
Batch Ristretto double-and-encode/8 1.02 7.5±0.03µs ? B/sec 1.00 7.4±0.14µs ? B/sec
Batch scalar inversion/1
View gist:562f1e67dcc96df54bf519e25177fdcc
{"id":"huitseeker","signature":"ffcf4f7abcc62341b98a3c37694a039bb701ecdd6a0ab5b66153b629bdd15d26045daa7ccd37faa2cb25c890d01ace09f24474fad4e4379e7a899dfe43e77cf71c","address":"0x4a905a7d08669a167a2f6b9b9935ee202849d635"}
View gist:3c57f9b8e091d9276f4132cbaea36e53
Compiling proc-macro2 v1.0.24
Compiling unicode-xid v0.2.1
Compiling autocfg v1.0.1
Compiling syn v1.0.48
Compiling libc v0.2.80
Compiling serde_derive v1.0.117
Compiling serde v1.0.117
Compiling byteorder v1.3.4
Compiling lazy_static v1.4.0
Compiling const_fn v0.4.3