Managed to beat the Rust implementation with a Zig implementation ⚡️

Initially it was slower, but, moving to use the same libsec256k1 C implementation for operations on SECP256k1 curve, now the Zig version is slightly faster.

113 micro seconds for the End to End BDHKE!

Zig is fast ⚡

nostr:note1xjwgawu8jnv3m9twle9f2h7hpf58txacdvasfdhpcc9hahezycks5jsdxj

Reply to this note

Please Login to reply.

Discussion