Crates.io | calldata-compressor |
lib.rs | calldata-compressor |
version | 0.2.3 |
source | src |
created_at | 2023-12-06 03:20:39.672659 |
updated_at | 2024-04-01 07:02:01.431292 |
description | A Compression algorithm for EVM abi.encoded data, especially for EVM calldata |
homepage | |
repository | |
max_upload_size | |
id | 1059662 |
size | 447,477 |
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