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 14:32:59 -0400
committerGary Linscott <glinscott@gmail.com>2013-07-11 14:23:14 -0400
commit179637304a5d913a7ea2dc13cffed6e53f342377 (patch)
tree3276cc93ac27eafc2d9ae4db41df3c2ed6fd5355 /src/rt/rust_kernel.cpp
parente95fcfafc7a2349217096bc1ed8b8c273b6a0e2b (diff)
downloadrust-179637304a5d913a7ea2dc13cffed6e53f342377.tar.gz
rust-179637304a5d913a7ea2dc13cffed6e53f342377.zip
char_range_at perf work
Moves multibyte code to it's own function to make char_range_at
easier to inline, and faster for single and multibyte chars.

Benchmarked reading example.json 100 times, 1.18s before, 1.08s
after.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions