Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add read_to_end implementation to &[u8]'s Read impl
The default impl for read_to_end does a bunch of bookkeeping that isn't necessary for slices and is about 4 times slower on my machine.
- Loading branch information