aboutsummaryrefslogtreecommitdiff
path: root/src/rt
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-04-08 02:09:20 +0200
committerMarijn Haverbeke <[email protected]>2011-04-08 02:23:14 +0200
commit53cc673db13608f27bec18ab71ce3fe36b6b303e (patch)
treecc57f1ef7b13c2f9a7cdfce016990903ca125fc5 /src/rt
parentInitialize two more variables to keep darwin tinderbox happy (diff)
downloadrust-53cc673db13608f27bec18ab71ce3fe36b6b303e.tar.xz
rust-53cc673db13608f27bec18ab71ce3fe36b6b303e.zip
Re-add a read_byte() method to buf_reader objs
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.)
Diffstat (limited to 'src/rt')
0 files changed, 0 insertions, 0 deletions