calldata-compressor

Crates.iocalldata-compressor
lib.rscalldata-compressor
version0.3.0
sourcesrc
created_at2023-12-06 03:20:39.672659
updated_at2024-11-26 07:12:56.250364
descriptionA Compression algorithm for EVM abi.encoded data, especially for EVM calldata
homepage
repository
max_upload_size
id1059662
size49,589
Bob Liu (Akagi201)

documentation

README

calldata-compressor-rs

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

Features

Test & Benchmark

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
Commit count: 0

cargo fmt