aboutsummaryrefslogtreecommitdiff
path: root/core/slice
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5884 from NicknEma/patch-1Jeroen van Rijn2025-11-041-3/+56
|\ | | | | Improve docs for stable sort procedures
| * Improve docs for stable sort proceduresNicknEma2025-11-041-3/+56
| | | | | | Explain what "stable" means and add an example
* | Change Odin's LICENSE to zlib from BSD 3-clausegingerBill2025-10-281-1/+1
|/ | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form.
* Further overhaul of package line comments.Jeroen van Rijn2025-10-092-2/+2
|
* More package lines.Jeroen van Rijn2025-10-092-3/+4
|
* Remove unused storegingerBill2025-10-091-1/+0
|
* Minor rename of a proceduregingerBill2025-10-081-6/+4
|
* Add `_internal_sort_from_indices_permuation`gingerBill2025-10-072-6/+33
|
* use `ctx`gingerBill2025-10-071-2/+2
|
* Fix typosgingerBill2025-10-071-6/+6
|
* Add missing `nil`gingerBill2025-10-071-2/+2
|
* Remove `context._internal` usagegingerBill2025-10-071-25/+40
|
* Replace normal sort procedure with a simpler unified type-erased onegingerBill2025-10-072-320/+295
|
* Add `slice.suffix_length`FourteenBrush2025-07-031-0/+19
|
* slice: use `card` in `bitset_to_enum_slice_with_make`Laytan Laats2025-02-241-2/+1
| | | | Fixes #4870
* docs: improved reinterpret docstringGiuliano Macedo2024-12-141-16/+35
|
* Add core:slice.size to get the byte size of a slice's backing dataBazzagibbs2024-11-111-0/+6
|
* Add slice.to_typeJeroen van Rijn2024-10-011-0/+11
|
* Merge pull request #4304 from kawaii-Code/linear_search_reverseLaytan2024-09-291-24/+125
|\ | | | | Add linear_search_reverse and linear_search_reverse_proc
| * Fix markup in `linear_search` and `binary_search` docsNia2024-09-291-45/+77
| |
| * Remove pointless `#no_bounds_check`Nia2024-09-291-4/+4
| |
| * Add linear_search_reverse and linear_search_reverse_procNia2024-09-251-0/+69
| |
* | Return Allocator_Error in map_entry_infosAntonino Simone Di Stefano2024-09-221-1/+1
| |
* | Remove address operator, which lead to a type errorAntonino Simone Di Stefano2024-09-221-2/+2
| |
* | Use package qualifier for type_info_base and Type_Info_mapAntonino Simone Di Stefano2024-09-211-1/+1
|/
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-141-1/+1
| | | | file tag syntax.
* Check for zero-length slices in `slice.equal`Feoramund2024-09-031-0/+11
|
* Improve slice.binary_search_byJeroen van Rijn2024-08-101-3/+19
|
* Even more style fixesgingerBill2024-06-291-1/+1
|
* More style improvementsgingerBill2024-06-291-2/+1
|
* Fix `slice.unique` wrong resultSandro Cavazzoni2024-06-161-4/+8
| | | | | | | When you try to make this array unique `[]int{1, 2, 4, 4, 5}` you get `[]int{1, 4, 5}` instead of `[]int{1, 2, 4, 5}`. Our index `i` should be increased even with both indices `i` and `j` have the same value
* Add `#no_bounds_check` to `slice.equal`Damian Tarnawski2024-06-141-2/+2
|
* Add `slice.permute`Feoramund2024-06-091-0/+105
|
* Fix slice.has_prefix & slice.has_suffixkorvahkh2024-05-251-2/+2
| | | | The needle was the element type instead of the slice type.
* Add allocator param.Jeroen van Rijn2024-05-091-2/+2
|
* Simplify bitset_to_enum_sliceJeroen van Rijn2024-05-091-12/+3
|
* Pass new -vet-style check.Jeroen van Rijn2024-05-091-7/+12
|
* Add make version of bitset to slice.Jeroen van Rijn2024-05-091-2/+18
|
* Add slice.enum_slice_to_bitset & slice.bitset_to_enum_sliceJeroen van Rijn2024-05-091-0/+24
|
* fixed slice.unique and slice.unique_procAaron Kavaler2024-03-131-2/+2
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-284-8/+8
|
* Fixed type of temporary slice in sort_by_indices_overwriteFranz Höltermann2024-01-081-1/+1
|
* Remove random taggingerBill2023-12-131-2/+2
|
* Add `slice.unique` and `slice.unique_proc`gingerBill2023-12-131-0/+36
|
* Reimplement `binary_search_by` to be simplergingerBill2023-12-131-29/+11
|
* Fix the implementation of `binary_search_by` to work with a normal ↵gingerBill2023-12-131-12/+4
| | | | | | `ordering` call, rather than the backwards version. WHY THE HECK WAS IT THIS WAY IN THE FIRST PLACE?!
* RevertgingerBill2023-12-131-4/+12
|
* Use `cmp_proc` in `binary_search`gingerBill2023-12-131-12/+4
|
* Add to `core:slice` `reduce_reverse`, `filter_reverse`, `repeat`gingerBill2023-12-131-3/+42
|
* added #no_bounds_check back into binary_search_byMatija Dizdar2023-12-061-2/+1
|