about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-08 14:34:54 -0700
committerbors <bors@rust-lang.org>2013-07-08 14:34:54 -0700
commitf503e539bf60416a731f9ecc12b6aab31ef2fe87 (patch)
treec1ff5d04cfd8079d5e500c96ac69305ff56b1411 /src/libsyntax/parse/parser.rs
parentf7b293bc75684a368e20567b5987c482dc5f8550 (diff)
parent149c976aa0b6441b93f2e2140e10e0424d39ea17 (diff)
downloadrust-f503e539bf60416a731f9ecc12b6aab31ef2fe87.tar.gz
rust-f503e539bf60416a731f9ecc12b6aab31ef2fe87.zip
auto merge of #7608 : glinscott/rust/json_perf, r=pcwalton
Avoids the overhead of read_char for every character.

Benchmark reading example.json 10 times from
https://code.google.com/p/rapidjson/wiki/Performance

Before: 2.55s
After:  0.16s

Regression testing is already done by isrustfastyet.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions