c interface of memx: the fast memory functions like a libc memcmp(), memchr(), memmem(), memcpy(), memset()
text
cargo build --release
mkdir -p $HOME/.cargo/lib
cp -a target/release/libmemx_cdy.so target/release/libmemx_cdy.a $HOME/.cargo/lib
text
cargo deb
and install .deb into your local repository of debian package.
Easy to use, LD_PRELOAD.
text
$ LD_PRELOAD=~/.cargo/lib/libmemx_cdy.so command
or
text
$ export LD_PRELOAD=~/.cargo/lib/libmemx_cdy.so
text
$ LD_PRELOAD=/usr/lib/libmemx_cdy.so.0.1 command
or
text
$ export LD_PRELOAD=/usr/lib/libmemx_cdy.so.0.1
memx
- rust crate for the fast mem lib