Files
rust/src
bors c16f480fa6 Auto merge of #46485 - khuey:cursor-read_exact, r=Manishearth
Add a specialization of read_exact for Cursor.

The read_exact implementation for &[u8] is optimized and usually allows LLVM to reduce a read_exact call for small numbers of bytes to a bounds check and a register load instead of a generic memcpy.  On a workload I have that decompresses, deserializes (via bincode), and processes some data, this leads to a 40% speedup by essentially eliminating the deserialization overhead entirely.
2017-12-04 10:02:48 +00:00
..
2017-11-29 21:11:20 -08:00
2017-11-21 15:33:45 +01:00
2017-11-28 18:59:12 -08:00
2017-11-30 05:39:57 -08:00
2017-11-29 19:15:46 +13:00
2017-11-29 21:11:20 -08:00