memx-cdy

c interface of memx: the fast memory functions like a libc memcmp(), memchr(), memmem(), memcpy(), memset()

Features

Quick install

  1. you can install this into cargo lib path:

text cargo build --release mkdir -p $HOME/.cargo/lib cp -a target/release/libmemx_cdy.so target/release/libmemx_cdy.a $HOME/.cargo/lib

  1. you can build debian package:

text cargo deb

and install .deb into your local repository of debian package.

Usage

Easy to use, LD_PRELOAD.

  1. usecase: cargo install text $ LD_PRELOAD=~/.cargo/lib/libmemx_cdy.so command

or

text $ export LD_PRELOAD=~/.cargo/lib/libmemx_cdy.so

  1. usecase: debian package

text $ LD_PRELOAD=/usr/lib/libmemx_cdy.so.0.1 command

or

text $ export LD_PRELOAD=/usr/lib/libmemx_cdy.so.0.1

References

The memx benchmark results