about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorGary Linscott <glinscott@gmail.com>2013-07-10 23:03:10 -0400
committerGary Linscott <glinscott@gmail.com>2013-07-10 23:08:13 -0400
commitf091a1e075b46b22f9df92acd2cf177e84ca1834 (patch)
treed8a301fe8b84d098275387048e3c0266defb7e9b /src/rt/rust_kernel.cpp
parent8fa09736efcd100ec675a2fe0e29906607996485 (diff)
downloadrust-f091a1e075b46b22f9df92acd2cf177e84ca1834.tar.gz
rust-f091a1e075b46b22f9df92acd2cf177e84ca1834.zip
Convert json Reader to iterators
This is much faster for strings, and eventually when there is a
buffered reader of some sort.

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)
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions