aboutsummaryrefslogtreecommitdiff
path: root/base/runtime/core_builtin_soa.odin
Commit message (Collapse)AuthorAgeFilesLines
* Add @builtin to missing builtin procedure group procsSylphrena2025-12-191-2/+3
|
* Use resize_soa instead of resize proc group in soa procsthetarnav2025-11-021-3/+7
|
* Add `inject_at_soa` and `append_nothing_soa` proceduresthetarnav2025-11-021-0/+111
|
* Add missing test attr and don't zero memory when reserve already didDamian Tarnawski2025-08-261-8/+7
|
* Merge branch 'master' into soa-resize-zero-memorygingerBill2025-08-261-5/+67
|\
| * Cleanup soa resize logic—reduce nestingDamian Tarnawski2025-08-241-32/+32
| |
| * Handle nil old data caseDamian Tarnawski2025-08-241-41/+48
| |
| * Always use .Resize_Non_Zeroed in _reserve_soaDamian Tarnawski2025-08-231-1/+1
| |
| * Avoid overlap issues when correcting memory after resize in _reserve_soaDamian Tarnawski2025-08-231-5/+14
| |
| * Only zero memory when requestedDamian Tarnawski2025-08-231-9/+9
| |
| * Support using allocator resize in `_reserve_soa` (fixes #5615)Damian Tarnawski2025-08-231-5/+51
| |
* | Zero existing memory when using resize_soa (fixes #5614)Damian Tarnawski2025-08-231-0/+24
|/
* Fix #4509Jeroen van Rijn2024-11-241-0/+2
|
* Added `#any_int` directive to some more builtin slice/dynamic arrayFranz Hoeltermann2024-09-031-3/+3
| | | | procedures
* Added `#any_int` to some #soa procs to mirror the behaviour of theirFranz Hoeltermann2024-09-031-5/+5
| | | | non-soa counterparts
* Imply `#no_capture` to all variadic parametersgingerBill2024-07-141-2/+2
|
* Add more uses of `#no_capture`gingerBill2024-07-141-3/+3
|
* Add `non_zero_*` variants for `#soa` dynamic arraygingerBill2024-07-011-3/+43
|
* Add `#no_broadcast` to `append_soa`gingerBill2024-07-011-2/+2
|
* Unify #soa code for structs and arraysgingerBill2024-07-011-42/+15
|
* Made default capacity of dynamic arrays more consistent.Karl Zylinski2024-06-291-3/+4
| | | | | | | | | Before this if you do `arr: [dynamic]int` and then append to arr, then it will have capacity 8. But if you did `arr := make([dynamic]int, context.temp_allocator)` then arr would have capacity 16. Now both `arr: [dynamic]int` and `arr := make([dynamic]int, context.temp_allocator)` will resut in arr having zero 0. The only reason to use `make` without an explicit len or cap now is because you want to set it up for a non-default allocator. After the first call to `append` it will now in both cases have capacity 8. I also updated the documentation on the strings builder, both to reflect this, and also to fix it incorrectly saying that len would be 'max(16,len)', which wasn't true even before these changes.
* Correct #soa RTTI usagegingerBill2024-05-161-8/+8
|
* Fix syntax mistake againJames Duran2024-02-161-1/+1
| | | | Sorry for being blind
* Fix Syntax MistakeJames Duran2024-02-161-1/+1
|
* Make into_dynamic_soa more concise and remove builtin tag from itJames Duran2024-02-161-8/+4
|
* Added into_dynamic_soa, unordered_remove_soa, and ordered_remove_soaJames Duran2024-02-141-1/+98
|
* Remove invalid allocator assignment to sliceZac Nowicki2024-02-081-1/+0
| | | | `T` is `#soa[]$E`, which does not carry an allocator.
* Fix #3150gingerBill2024-01-291-0/+1
|
* Remove `core:os` dependency from `base:runtime`; change to `base:intrinsics`gingerBill2024-01-281-1/+1
|
* Move `core:runtime` to `base:runtime`; keep alias aroundgingerBill2024-01-281-0/+428