Crates.io | calldata-compressor |
lib.rs | calldata-compressor |
version | 0.3.0 |
source | src |
created_at | 2023-12-06 03:20:39.672659 |
updated_at | 2024-11-26 07:12:56.250364 |
description | A Compression algorithm for EVM abi.encoded data, especially for EVM calldata |
homepage | |
repository | |
max_upload_size | |
id | 1059662 |
size | 49,589 |
A Compression algorithm for EVM abi.encoded data, especially for EVM calldata.
This project is a Rust implementation of the Calldata Compressor, based on 1inch/calldata-compressor
Test
cargo nextest run -r
Benchmarks
# valgrind check
cargo valgrind test
valgrind --tool=dhat ./target/debug/deps/calldata_compressor-92413ab13fccdd8f
# generate flamegraph
cargo flamegraph --unit-test -- test_compress_big