- Oct 07, 2018
-
-
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
- Oct 02, 2018
- Sep 29, 2018
-
-
Jeremy Soller authored
Add termios baud rate functions See merge request !165
-
Nagy Tibor authored
-
jD91mZM2 authored
cbindgen can't handle negative numbers, see https://github.com/eqrion/cbindgen/issues/205
-
- Sep 26, 2018
- Sep 25, 2018
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Sep 24, 2018
-
-
Jeremy Soller authored
-
- Sep 23, 2018
-
-
jD91mZM2 authored
-
jD91mZM2 authored
-
Jeremy Soller authored
-
jD91mZM2 authored
-
- Sep 22, 2018
- Sep 21, 2018
- Sep 20, 2018
-
-
Jeremy Soller authored
-
Jeremy Soller authored
-
- Sep 19, 2018
-
-
Jeremy Soller authored
-
- Sep 18, 2018
-
-
jD91mZM2 authored
-
Jeremy Soller authored
-
Jeremy Soller authored
- clean up trace macro some
-
Jeremy Soller authored
-
jD91mZM2 authored
-