calldata-compressor

Crates.iocalldata-compressor
lib.rscalldata-compressor
version0.2.3
sourcesrc
created_at2023-12-06 03:20:39.672659
updated_at2024-04-01 07:02:01.431292
descriptionA Compression algorithm for EVM abi.encoded data, especially for EVM calldata
homepage
repository
max_upload_size
id1059662
size447,477
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