diff options
| author | Gary Linscott <glinscott@gmail.com> | 2013-07-05 19:01:57 -0400 |
|---|---|---|
| committer | Gary Linscott <glinscott@gmail.com> | 2013-07-05 19:40:01 -0400 |
| commit | 37494d39d38be33a589a1f46dae38fe2ceb9d94f (patch) | |
| tree | d77211e7042fbf860b3cc7a461b76dd81590d980 /src/libsyntax/parse/parser.rs | |
| parent | 58eb70a5e2ce6602e5685f5cc18ab2fe0c327020 (diff) | |
| download | rust-37494d39d38be33a589a1f46dae38fe2ceb9d94f.tar.gz rust-37494d39d38be33a589a1f46dae38fe2ceb9d94f.zip | |
Switch json parsing to read_chars for performance
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
