Carl-Anton Ingmarsson 0b3311c260 std::io: Optimize u64_from_be_bytes()
Instead of reading a byte at a time in a loop we copy the relevant bytes into
a temporary vector of size eight. We can then read the value from the temporary
vector using a single u64 read. LLVM seems to be able to optimize this
almost scarily good.
2014-01-10 20:14:05 +01:00
..
2014-01-09 09:27:10 -08:00
2014-01-09 09:27:10 -08:00
2014-01-09 09:27:10 -08:00
2014-01-09 09:27:10 -08:00
2014-01-09 09:27:10 -08:00
2014-01-09 21:03:18 -08:00
2014-01-09 09:27:10 -08:00
2014-01-09 09:27:10 -08:00
2014-01-09 09:27:10 -08:00
2014-01-09 09:27:10 -08:00
2013-12-27 23:09:31 -08:00
2014-01-09 09:27:10 -08:00