| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | slice: use `card` in `bitset_to_enum_slice_with_make` | Laytan Laats | 2025-02-24 | 1 | -2/+1 |
| | | | | | Fixes #4870 | ||||
| * | docs: improved reinterpret docstring | Giuliano Macedo | 2024-12-14 | 1 | -16/+35 |
| | | |||||
| * | Add core:slice.size to get the byte size of a slice's backing data | Bazzagibbs | 2024-11-11 | 1 | -0/+6 |
| | | |||||
| * | Add slice.to_type | Jeroen van Rijn | 2024-10-01 | 1 | -0/+11 |
| | | |||||
| * | Merge pull request #4304 from kawaii-Code/linear_search_reverse | Laytan | 2024-09-29 | 1 | -24/+125 |
| |\ | | | | | Add linear_search_reverse and linear_search_reverse_proc | ||||
| | * | Fix markup in `linear_search` and `binary_search` docs | Nia | 2024-09-29 | 1 | -45/+77 |
| | | | |||||
| | * | Remove pointless `#no_bounds_check` | Nia | 2024-09-29 | 1 | -4/+4 |
| | | | |||||
| | * | Add linear_search_reverse and linear_search_reverse_proc | Nia | 2024-09-25 | 1 | -0/+69 |
| | | | |||||
| * | | Return Allocator_Error in map_entry_infos | Antonino Simone Di Stefano | 2024-09-22 | 1 | -1/+1 |
| | | | |||||
| * | | Remove address operator, which lead to a type error | Antonino Simone Di Stefano | 2024-09-22 | 1 | -2/+2 |
| | | | |||||
| * | | Use package qualifier for type_info_base and Type_Info_map | Antonino Simone Di Stefano | 2024-09-21 | 1 | -1/+1 |
| |/ | |||||
| * | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵ | Karl Zylinski | 2024-09-14 | 1 | -1/+1 |
| | | | | | file tag syntax. | ||||
| * | Check for zero-length slices in `slice.equal` | Feoramund | 2024-09-03 | 1 | -0/+11 |
| | | |||||
| * | Improve slice.binary_search_by | Jeroen van Rijn | 2024-08-10 | 1 | -3/+19 |
| | | |||||
| * | Even more style fixes | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | More style improvements | gingerBill | 2024-06-29 | 1 | -2/+1 |
| | | |||||
| * | Fix `slice.unique` wrong result | Sandro Cavazzoni | 2024-06-16 | 1 | -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 Tarnawski | 2024-06-14 | 1 | -2/+2 |
| | | |||||
| * | Add `slice.permute` | Feoramund | 2024-06-09 | 1 | -0/+105 |
| | | |||||
| * | Fix slice.has_prefix & slice.has_suffix | korvahkh | 2024-05-25 | 1 | -2/+2 |
| | | | | | The needle was the element type instead of the slice type. | ||||
| * | Add allocator param. | Jeroen van Rijn | 2024-05-09 | 1 | -2/+2 |
| | | |||||
| * | Simplify bitset_to_enum_slice | Jeroen van Rijn | 2024-05-09 | 1 | -12/+3 |
| | | |||||
| * | Pass new -vet-style check. | Jeroen van Rijn | 2024-05-09 | 1 | -7/+12 |
| | | |||||
| * | Add make version of bitset to slice. | Jeroen van Rijn | 2024-05-09 | 1 | -2/+18 |
| | | |||||
| * | Add slice.enum_slice_to_bitset & slice.bitset_to_enum_slice | Jeroen van Rijn | 2024-05-09 | 1 | -0/+24 |
| | | |||||
| * | fixed slice.unique and slice.unique_proc | Aaron Kavaler | 2024-03-13 | 1 | -2/+2 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 4 | -8/+8 |
| | | |||||
| * | Fixed type of temporary slice in sort_by_indices_overwrite | Franz Höltermann | 2024-01-08 | 1 | -1/+1 |
| | | |||||
| * | Remove random tag | gingerBill | 2023-12-13 | 1 | -2/+2 |
| | | |||||
| * | Add `slice.unique` and `slice.unique_proc` | gingerBill | 2023-12-13 | 1 | -0/+36 |
| | | |||||
| * | Reimplement `binary_search_by` to be simpler | gingerBill | 2023-12-13 | 1 | -29/+11 |
| | | |||||
| * | Fix the implementation of `binary_search_by` to work with a normal ↵ | gingerBill | 2023-12-13 | 1 | -12/+4 |
| | | | | | | | `ordering` call, rather than the backwards version. WHY THE HECK WAS IT THIS WAY IN THE FIRST PLACE?! | ||||
| * | Revert | gingerBill | 2023-12-13 | 1 | -4/+12 |
| | | |||||
| * | Use `cmp_proc` in `binary_search` | gingerBill | 2023-12-13 | 1 | -12/+4 |
| | | |||||
| * | Add to `core:slice` `reduce_reverse`, `filter_reverse`, `repeat` | gingerBill | 2023-12-13 | 1 | -3/+42 |
| | | |||||
| * | added #no_bounds_check back into binary_search_by | Matija Dizdar | 2023-12-06 | 1 | -2/+1 |
| | | |||||
| * | removed incorrect requirement for key type to be ordered in binary_search_by | Matija Dizdar | 2023-12-06 | 1 | -1/+0 |
| | | |||||
| * | Add min_index and max_index procedures | Tarık B | 2023-11-26 | 1 | -0/+34 |
| | | |||||
| * | Removed some accidental semi-colons and converted indentation to tabs. | Hector | 2023-11-25 | 1 | -46/+46 |
| | | |||||
| * | Binary search improvements | Hector | 2023-11-25 | 1 | -33/+82 |
| | | | | | | | | | Modified the algorithm so that the index is either the location of the element if found or the index at which to insert the element to maintain sorted order. Also added some tests to verify the above claim. | ||||
| * | [core]: Remove `do` keyword from the core library | flysand7 | 2023-11-11 | 1 | -3/+9 |
| | | |||||
| * | Make slice.clone and slice.clone_to_dynamic take a loc parameter | Karl Zylinski | 2023-10-30 | 1 | -4/+4 |
| | | |||||
| * | Replace `mem` with `runtime` in `core:slice` | gingerBill | 2023-06-28 | 2 | -22/+28 |
| | | |||||
| * | Fix typo | gingerBill | 2023-05-25 | 1 | -1/+1 |
| | | |||||
| * | Add missing `Allocator_Error` and `@(require_results)` to many procedures | gingerBill | 2023-05-22 | 2 | -20/+75 |
| | | |||||
| * | Remove `where ORD(E)` on procedures that don't need it | gingerBill | 2023-03-14 | 1 | -2/+2 |
| | | |||||
| * | Fix `slice.reverse` | gingerBill | 2023-01-27 | 1 | -2/+1 |
| | | |||||
| * | Add the inner `for` loop back in the logic | Andrea Piseri | 2022-12-21 | 1 | -6/+16 |
| | | | | | | | This could be easier to predict in cases where one of `left` and `right` is significantly greater than the other, and as such the same branch is taken multiple times in a row | ||||
| * | Fix non-generic cast in core:slice.rotate_left | Andrea Piseri | 2022-12-21 | 1 | -1/+1 |
| | | |||||
| * | Fix `core:slice.rotate_left` | Andrea Piseri | 2022-12-21 | 2 | -16/+10 |
| | | | | | | | | This commit includes two fixes: - a temporary cast to make the function compile - a fix to a logic error that caused the function to hang or return incorrect results | ||||