31 releases
0.1.32 | Jun 19, 2024 |
---|---|
0.1.30 | May 15, 2023 |
0.1.28 | Mar 14, 2023 |
0.1.21 | Jun 13, 2022 |
0.1.14 | Jul 6, 2021 |
#61 in Algorithms
3,640 downloads per month
Used in 19 crates
(4 directly)
1MB
22K
SLoC
memx
memx
minics libc.
This crate is implemented memory functions like libc memcmp(), memchr(), memmem(), memcpy(), memset().
Features
- Rewriting with rust lang.
- minimum support rustc 1.56.1 (59eed8a2a 2021-11-01)
Todo
- Support the zero overhead trait.
- Support more fast routine on armv7-android
- Support more fast routine on x86_64
- Support #![no_std]
Support status of miri :: rustc 1.68.0-nightly (77429957a 2023-01-01)
Ok lists:
- cargo +nightly miri test --target=x86_64-unknown-linux-gnu
- cargo +nightly miri test --target=i686-unknown-linux-gnu
- cargo +nightly miri test --target=i586-unknown-linux-gnu
- cargo +nightly miri test --target=aarch64-unknown-linux-gnu
- cargo +nightly miri test --target=armv7-unknown-linux-gnueabihf
Failed lists:
- nothing
Benchmark results
memory op |
---|
memcmp() |
memeq() |
memcpy() |
memset() |
Changelogs
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.