aboutsummaryrefslogtreecommitdiff
path: root/core/slice
Commit message (Collapse)AuthorAgeFilesLines
* Replace `mem` with `runtime` in `core:slice`gingerBill2023-06-282-22/+28
|
* Fix typogingerBill2023-05-251-1/+1
|
* Add missing `Allocator_Error` and `@(require_results)` to many proceduresgingerBill2023-05-222-20/+75
|
* Remove `where ORD(E)` on procedures that don't need itgingerBill2023-03-141-2/+2
|
* Fix `slice.reverse`gingerBill2023-01-271-2/+1
|
* Add the inner `for` loop back in the logicAndrea Piseri2022-12-211-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_leftAndrea Piseri2022-12-211-1/+1
|
* Fix `core:slice.rotate_left`Andrea Piseri2022-12-212-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
* Fix typo err: runtime.Allocator to Allocator_ErrorAndré (counter)2022-12-091-1/+1
|
* Correct reflection usage of mapsgingerBill2022-11-081-26/+22
|
* Update sort_private.odingingerBill2022-10-181-2/+3
|
* Use `uint` instead of `int` to improve code generation for bounds checkinggingerBill2022-09-271-2/+2
|
* Add `slice.enumerated_array`gingerBill2022-09-221-0/+7
|
* Correct slice/ptr.odin callsgingerBill2022-09-171-7/+9
|
* fix sort_by_indices_allocatePhil2022-09-071-1/+1
|
* fix sort_by_with_indices for zero and one length slices:Phil2022-09-011-2/+2
|
* add sort_by_indices overload and testPhil2022-09-011-1/+11
|
* add tests for sort_by_indicesPhil2022-09-011-1/+2
|
* cleanup slice sorting with indices changesPhil2022-09-011-3/+3
|
* have sort_with_indices allocate. Add a couple convenience procs for using ↵Phil2022-09-011-5/+28
| | | | the indices result to sort other slices.
* add sort_with_indices family of procsPhil2022-08-312-0/+205
|
* Fix #1972gingerBill2022-08-241-2/+2
|
* Add `strings.prefix_length` & `slice.prefix_length`Jeroen van Rijn2022-06-161-0/+15
|
* Minor changes to `core:slice/heap`; add to examples/allgingerBill2022-06-121-24/+24
|
* Merge pull request #1830 from graphitemaster/dale/max_heapgingerBill2022-06-121-0/+231
|\ | | | | add max heap implementation to slice package
| * fixDale Weiler2022-06-041-2/+1
| |
| * add max heap implementation to slice packageDale Weiler2022-06-041-0/+232
| |
* | Fixed `slice.is_sorted_cmp`Despacito6969692022-06-071-1/+1
|/
* Remove `strings` dependency from `core:sys/windows`gingerBill2022-06-021-3/+1
|
* Duplicate some basic slice procedures from core:mem into core:sliceTetralux2022-04-181-0/+47
|
* Fix tail recursion in `_quick_sort_general`Andrea Piseri2022-04-131-1/+1
| | | | | | The `if` statement should have been a `for` loop, in order to allow recursively sorting the subarrays with quicksort, and not resort to shell sort after one step.
* Add more things to `package slice`gingerBill2022-03-081-5/+96
| | | | | | | | min_max any_of(_proc) none_of(_proc) all_of(_proc) count(_proc)
* Remove the unneeded `$`gingerBill2022-01-311-2/+2
|
* Add `slice.stable_sort*` proceduresgingerBill2022-01-313-12/+61
|
* Unify logic for `slice.sort*` related proceduresgingerBill2022-01-312-488/+182
|
* use multipointers instead of simple pointersAndrea Piseri2021-12-281-11/+7
|
* Merge branch 'master' into slice_scannerAndrea Piseri2021-12-281-1/+1
|\
| * make `slice.as_ptr` return `[^]E`gingerBill2021-12-281-1/+1
| |
* | Add slice/scanner procAndrea Piseri2021-12-231-0/+21
|/
* Rename slice.to_dynamic to slice.clone_to_dynamicTetralux2021-12-211-2/+3
|
* add builtin.Michael Kutowski2021-11-191-1/+1
|
* Add `slice.swap_between`gingerBill2021-10-262-1/+32
|
* Add `#no_bounds_check` to sorting proceduresgingerBill2021-10-261-18/+18
|
* Make core and vendor adhere to `-vet`, `-strict-style`, and `-disallow-do`gingerBill2021-09-111-3/+7
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-314-379/+379
|
* Enforce `core:builtin` and `core:intrinsics` for importsgingerBill2021-08-213-4/+4
|
* Use builtin.min and builtin.max in package slicegingerBill2021-07-091-2/+2
|
* Add `slice.min` and add `slice.max`gingerBill2021-07-081-0/+24
|
* Add `slice.sort_by_cmp` Ordering based sorting algorithmsgingerBill2021-07-031-8/+229
|
* Change uses for parapoly records to use `$` alwaysgingerBill2021-06-141-2/+2
|