about summary refs log tree commit diff
path: root/library/core/src/slice
AgeCommit message (Expand)AuthorLines
2023-03-30Rollup merge of #106985 - jofas:106746-fix, r=ChrisDentonYuki Okushi-10/+10
2023-03-30removed deprecated markdown links from documentationjofas-3/+0
2023-03-29enhanced documentation of binary search methods for slice and VecDeque for un...jofas-7/+10
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-4/+4
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-4/+4
2023-03-25Auto merge of #99929 - the8472:default-iters, r=scottmcmbors-0/+14
2023-03-17Switch impls of `is_sorted_by` between slices and slice itersMaybe Waffle-2/+2
2023-03-17Make `slice::is_sorted_by` impl nicerMaybe Waffle-3/+1
2023-03-05Use `nuw` when calculating slice lengths from `Range`sScott McMurray-3/+6
2023-03-05Auto merge of #105117 - pitaj:debug_asserts, r=the8472bors-4/+9
2023-03-03Match unmatched backticks in library/est31-3/+3
2023-03-01Auto merge of #108483 - scottmcm:unify-bytewise-eq-traits, r=the8472bors-25/+2
2023-03-01Merge two different equality specialization traits in `core`Scott McMurray-25/+2
2023-02-28rewrite iterator `Default` tests as doctestsThe 8472-0/+7
2023-02-28Implement Default for some alloc/core iteratorsThe 8472-0/+7
2023-02-22Optimize break patternszhangyunhao-10/+14
2023-02-19Rollup merge of #106933 - schuelermine:fix/doc/102451, r=AmanieuDylan DPC-6/+14
2023-02-18Update documentation of select_nth_unstable and select_nth_unstable_by and se...Anselm Schüler-6/+14
2023-02-13Auto merge of #107634 - scottmcm:array-drain, r=thomccbors-1/+12
2023-02-13Auto merge of #107191 - Voultapher:reverse-timsort-scan-direction, r=thomccbors-220/+271
2023-02-11Split branches in heapsort child selectionLukas Bergdoll-1/+6
2023-02-10Speedup heapsort by 1.5x by making it branchlessLukas Bergdoll-3/+1
2023-02-08Rollup merge of #107429 - tgross35:from-bytes-until-null-stabilization, r=dto...Michael Goulet-3/+12
2023-02-04Allow canonicalizing the `array::map` loop in trusted casesScott McMurray-1/+12
2023-02-01Change 'from_bytes_until_nul' to const stableTrevor Gross-3/+12
2023-01-31improve panic message for slice windows and chunksLukas Markeffsky-16/+32
2023-01-23Document missing unsafe blocksLukas Bergdoll-4/+12
2023-01-22Flip scanning direction of stable sortLukas Bergdoll-45/+67
2023-01-22Unify insertion sort implementationsLukas Bergdoll-171/+188
2023-01-21debug assertions for `slice::split_at_unchecked`, `str::get_unchecked`Peter Jaszkowiak-4/+9
2023-01-21Use NonNull in merge_sortLukas Bergdoll-15/+19
2023-01-20Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomccMichael Goulet-1/+521
2023-01-18Rollup merge of #106997 - Sp00ph:introselect, r=scottmcmMatthias Krüger-0/+22
2023-01-17Rollup merge of #106889 - scottmcm:windows-mut, r=cuviperMatthias Krüger-0/+16
2023-01-17Add heapsort fallback in `select_nth_unstable`Markus Everling-0/+22
2023-01-15replace manual ptr arithmetic with ptr_subThe 8472-23/+7
2023-01-14Mention the lack of `windows_mut` in `windows`Scott McMurray-0/+16
2023-01-14Fix some missed double spaces.André Vennberg-1/+1
2023-01-14Remove various double spaces in source comments.André Vennberg-8/+8
2022-12-30Replace libstd, libcore, liballoc in docs.jonathanCogan-1/+1
2022-12-22Rollup merge of #105584 - raffimolero:patch-1, r=JohnTitorYuki Okushi-9/+9
2022-12-17Another `as_chunks` exampleScott McMurray-0/+11
2022-12-15doc: Fix a few small issuesHannes Körber-1/+1
2022-12-12add assert messages if chunks/windows are length 0raffimolero-9/+9
2022-12-09Auto merge of #105262 - eduardosm:more-inline-always, r=thomccbors-2/+2
2022-12-07Make some trivial functions `#[inline(always)]`Eduardo Sánchez Muñoz-2/+2
2022-12-05attempt to clarify align_to docsRalf Jung-8/+10
2022-12-02Auto merge of #104999 - saethlin:immediate-abort-inlining, r=thomccbors-10/+11
2022-11-29Adjust inlining attributes around panic_immediate_abortBen Kimock-10/+11
2022-11-22Rollup merge of #83608 - Kimundi:index_many, r=Mark-SimulacrumManish Goregaokar-0/+136