rlocate/crates/squozen/docs/patprep
Elf M. Sternberg 40811151ab The C and Rust versions are now comparable.
The C and Rust versions are now comparable, with a memory-reuse and
a memory-safe version for Rust.  The memory-safe version is five times
faster than the C version; the memory-reuse version (technically safe,
but can panic under some very rare circumstances) is ten times faster.

I suspect the reasons for he speedup are strictly in the `for()` loop
in the C version for copying the string, where the Rust version probably
uses memcpy() under the covers to transfer the short string into the
destination.
2022-11-13 12:33:34 -08:00
..
Makefile Moved everything around so it's more project-y 2022-11-11 08:31:22 -08:00
bench_patprep.c The C and Rust versions are now comparable. 2022-11-13 12:33:34 -08:00
gen_rust_examples.c Moved everything around so it's more project-y 2022-11-11 08:31:22 -08:00
patprep.c Moved everything around so it's more project-y 2022-11-11 08:31:22 -08:00
patprep.h Moved everything around so it's more project-y 2022-11-11 08:31:22 -08:00