about summary refs log tree commit diff
path: root/library/std/src/io/buffered/bufreader
AgeCommit message (Collapse)AuthorLines
2022-10-06Avoid defensive re-initialization of the BufReader bufferBen Kimock-3/+16
2022-08-18Address reviewer commentsNick Cameron-1/+1
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2022-08-05non-linux platformsNick Cameron-4/+8
Signed-off-by: Nick Cameron <nrc@ncameron.org>
2022-07-26Add Buffer::consume_with to enable direct buffer access with one checkBen Kimock-0/+17
2022-07-24Rename and document the new BufReader internalsBen Kimock-22/+26
2022-07-24Allow Buffer methods to inlineBen Kimock-0/+9
2022-07-24Remove some redundant checks from BufReaderBen Kimock-0/+75
The implementation of BufReader contains a lot of redundant checks. While any one of these checks is not particularly expensive to execute, especially when taken together they dramatically inhibit LLVM's ability to make subsequent optimizations.