about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-11 03:43:36 -0700
committerbors <bors@rust-lang.org>2013-07-11 03:43:36 -0700
commit06accaf22b51e729142ce952caa0102aae7aa2da (patch)
tree5303ae65da7035ef801fc260f6441f3141f7785b /src/rt/rust_kernel.cpp
parent6ea0c7767d33e7de044a09878d446e0603e0cd66 (diff)
parentf091a1e075b46b22f9df92acd2cf177e84ca1834 (diff)
downloadrust-06accaf22b51e729142ce952caa0102aae7aa2da.tar.gz
rust-06accaf22b51e729142ce952caa0102aae7aa2da.zip
auto merge of #7704 : glinscott/rust/json_iter, r=erickt
This is much faster for strings, and eventually when there is a
buffered reader of some sort, will be much faster for files.

Reading example.json 100 times before was around 1.18s.
After:
- reading from string 0.68s
- reading from file 1.08s (extra time is all in io::Reader)

Also:
- fixes #7611 - error when parsing strings and we hit EOF
- updates definition of whitespace in json should only be the 4 ascii whitespace chars
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions