mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 01:28:18 +03:00
53cc673db13608f27bec18ab71ce3fe36b6b303e
This was removed because of the repetition, but doing single-byte reads in terms of read_bytes (which allocates a vec) is needlessly slow. This change speeds up parsing by 22%. (Eventually, we won't be able to escape handling the buffering in the stdlib itself.)
This is a compiler and suite of associated libraries and documentation for the Rust programming language. See LICENSE.txt for terms of copyright and redistribution. See http://github.com/graydon/rust for current development page.
Languages
Rust
95.7%
Shell
1%
C
1%
JavaScript
0.6%
Python
0.4%
Other
1%