Crates.io | solana-nostd-big-mod-exp |
lib.rs | solana-nostd-big-mod-exp |
version | 0.1.3 |
source | src |
created_at | 2024-10-21 18:47:06.264243 |
updated_at | 2024-11-15 22:46:53.185465 |
description | A more efficient implementation of Big Mod Exp for SVM |
homepage | |
repository | |
max_upload_size | |
id | 1417826 |
size | 11,044 |
A more efficient implementation of Big Number Modular Exponentiation for SVM.
cargo add solana-nostd-big-mod-exp
big_mod_exp_fixed
function to avoid heap allocationslibrary | function | CU cost |
---|---|---|
nostd-big-mod-exp | big_mod_exp_fixed | 2102 |
nostd-big-mod-exp | big_mod_exp | 2122 |
solana-program | big_mod_exp | 2151 |