- Apr 27, 2019
-
-
Alex Lyon authored
-
- Apr 24, 2019
-
-
Mateusz Mikuła authored
-
- Apr 21, 2019
-
-
Jeremy Soller authored
-
jD91mZM2 authored
https://github.com/BurntSushi/rust-memchr is supposed to be a whole lot faster :)
-
- Apr 19, 2019
-
-
Mateusz Mikuła authored
-
- Apr 15, 2019
-
-
Michał Zwonek authored
Changed while loops to for - https://gitlab.redox-os.org/redox-os/relibc/issues/128
-
- Dec 02, 2018
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Dec 01, 2018
-
-
Jeremy Soller authored
-
- Nov 28, 2018
-
-
Jeremy Soller authored
-
- Nov 26, 2018
-
-
Ian Douglas Scott authored
-
- Nov 25, 2018
-
-
Jeremy Soller authored
-
- Nov 10, 2018
-
-
Jeremy Soller authored
-
- Oct 09, 2018
-
- Oct 07, 2018
-
-
Benedikt Rascher-Friesenhausen authored
As per the comments from jD91mZM2 on the merge request.
-
Benedikt Rascher-Friesenhausen authored
I saw that in other parts of the `string` module iterations over `usize` were used to increase iteration speed. In this patch I apply the same logic to `memcmp`. With this change I measured a 7x speedup for `memcmp` on a ~1MB buffer (comparing two buffers with the same content) on my machine (i7-7500U), but I did not do any real world benchmarking for the change. The increase in speed comes with the tradeoff of both increased complexity and larger generated assembly code for the function. I tested the correctness of the implementation by generating two randomly filled buffers and comparing the `memcmp` result of the old implementation against this new one. I ran the tests and currently currently three of them fail: - netdb (fails to run) - stdio/rename (fails to verify) - unistd/pipe (fails to verify) They do so though regardless of this change, so I don't think they are related.
-
- Oct 06, 2018
-
- Oct 05, 2018
-
- Sep 25, 2018
-
-
Jeremy Soller authored
-
- Sep 22, 2018
-
- Aug 27, 2018
-
-
Jeremy Soller authored
-
- Aug 26, 2018
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Aug 07, 2018
-
- Aug 05, 2018
-
- Aug 03, 2018
-
- Jul 17, 2018
-
- Jul 12, 2018
-
- Jul 08, 2018
-
- Jul 04, 2018
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Jul 03, 2018
-
- Jul 01, 2018
-
-
- May 15, 2018
-
-
Matija Skala authored
-
- May 12, 2018
-
-
Alex Lyon authored
Because we were previously converting the bytes in the format string into Rust's char type and then printing that using the format machinery, byte values that were not valid single-byte UTF-8 characters failed to print correctly. I found this while trying to implement qsort() because the output of my test program was mysteriously incorrect despite it working when I used glibc.
-
- Apr 04, 2018
-
-
Hermann Döppes authored
-
- Mar 28, 2018
-
-
Jeremy Soller authored
-
- Mar 18, 2018
-
-
Timothy Bess authored
-