diff options
| author | bors <bors@rust-lang.org> | 2013-06-10 12:10:39 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-06-10 12:10:39 -0700 |
| commit | 1310212c27c1c294e1f907b05a225440c987a912 (patch) | |
| tree | 55be12fd3e32a320f11b3d7cf6125a825aede7c6 /src/rustllvm/RustWrapper.cpp | |
| parent | 2ff6b298c5f23f48aa993fced41b6e29e446b7ce (diff) | |
| parent | e8782eeb6327eb79b132cc3f71bfaf55310dde00 (diff) | |
| download | rust-1310212c27c1c294e1f907b05a225440c987a912.tar.gz rust-1310212c27c1c294e1f907b05a225440c987a912.zip | |
auto merge of #7032 : huonw/rust/each-fn-kill, r=thestinger
Continuation of #7015, and #6995. Rewrites the character-based `each_split` functions in `str` to use an iterator, removes a few redundant methods, and replaces all uses of `len`, `is_empty` and `slice` functions with the methods (and deletes the the functions). Update: Ok, this has turned into a major makeover for `str`, turning a lot of functions into methods, and removing redundant ones. Each commit is essentially a single such change. (Unscientific benchmarks suggest that the external `split_iter` is approximately 10% faster than the internal one. I'm not quite sure why this would be true.) (@thestinger is probably interested in this.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
