| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | import cleanup | jakubtomsu | 6 days | 1 | -3/+1 |
| | | |||||
| * | nbio: add package | Laytan Laats | 2026-01-11 | 1 | -0/+36 |
| | | |||||
| * | Add missing 'caller_location' to several procedures in 'slice' package | DarathDev | 2025-12-28 | 1 | -16/+16 |
| | | |||||
| * | Remove `contextless` from `slice.swap_with_slice` | gingerBill | 2025-12-11 | 1 | -1/+1 |
| | | |||||
| * | Add `"contextless"` where possible in `core:slice` | gingerBill | 2025-12-11 | 1 | -36/+37 |
| | | |||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 1 | -1/+1 |
| | | |||||
| * | More package lines. | Jeroen van Rijn | 2025-10-09 | 1 | -0/+1 |
| | | |||||
| * | Add `slice.suffix_length` | FourteenBrush | 2025-07-03 | 1 | -0/+19 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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 | 1 | -3/+3 |
| | | |||||
| * | 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. | ||||
| * | 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 | 1 | -12/+18 |
| | | |||||
| * | Fix typo | gingerBill | 2023-05-25 | 1 | -1/+1 |
| | | |||||
| * | Add missing `Allocator_Error` and `@(require_results)` to many procedures | gingerBill | 2023-05-22 | 1 | -19/+67 |
| | | |||||
| * | Fix `slice.reverse` | gingerBill | 2023-01-27 | 1 | -2/+1 |
| | | |||||
| * | 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 | 1 | -3/+5 |
| | | | | | | | | 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 | ||||
| * | Use `uint` instead of `int` to improve code generation for bounds checking | gingerBill | 2022-09-27 | 1 | -2/+2 |
| | | |||||
| * | Add `slice.enumerated_array` | gingerBill | 2022-09-22 | 1 | -0/+7 |
| | | |||||