[Issue 19412] std.algorithm.cmp with default ordering can use memcmp for all big-endian or size 1 unsigned types (instead of just char)

2019-03-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19412 --- Comment #3 from Nathan S. --- Benchmarking shows that whether memcmp is an improvement or not for wider-than-byte types depends on input length, so this is conservatively being changed to just unsigned byte-width types. --

[Issue 19412] std.algorithm.cmp with default ordering can use memcmp for all big-endian or size 1 unsigned types (instead of just char)

2019-03-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19412 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #2 from Dlang Bot --- @n8sh

[Issue 19412] std.algorithm.cmp with default ordering can use memcmp for all big-endian or size 1 unsigned types (instead of just char)

2018-11-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19412 --- Comment #1 from Nathan S. --- Pull request: https://github.com/dlang/phobos/pull/6776 --

[Issue 19412] std.algorithm.cmp with default ordering can use memcmp for all big-endian or size 1 unsigned types (instead of just char)

2018-11-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19412 Nathan S. changed: What|Removed |Added Summary|std.algorithm.cmp with |std.algorithm.cmp with