diff options
| author | Alex Ozdemir <aozdemir@hmc.edu> | 2015-08-07 00:10:31 -0700 |
|---|---|---|
| committer | Alex Ozdemir <aozdemir@fb.com> | 2015-08-12 08:34:51 -0700 |
| commit | e09f83ea4491ae7c1e48d667b9c552641de0ce5b (patch) | |
| tree | 9283a6ccfae1921b70e1219e3f038ff25cfe40cc /src/rustllvm/RustWrapper.cpp | |
| parent | 6a3545ef055a6c3b46593c2b17512486dc3fa0ee (diff) | |
| download | rust-e09f83ea4491ae7c1e48d667b9c552641de0ce5b.tar.gz rust-e09f83ea4491ae7c1e48d667b9c552641de0ce5b.zip | |
O(1) count,nth,last for slice::Windows,Chunks(Mut)
Implemented count, nth, and last in constant time for Windows, Chunks, and ChunksMut created from a slice. Included checks for overflow in the implementation of nth(). Also added a test for each implemented method to libcoretest. Addresses #24214
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
