- Reduced memory usage for backtraces on Linux.

- `String.tokenize_all` would yield one too many empty tokens at the end.
- `String.replace` no longer depends on `String.split`.
This commit is contained in:
Christoffer Lerno
2025-12-31 10:08:00 +01:00
parent 26d733ef59
commit 739e91efa4
5 changed files with 85 additions and 61 deletions

View File

@@ -12,6 +12,7 @@
- `$$MASK_TO_INT` and `$$INT_TO_MASK` to create bool masks from integers and back.
- Better error messages when slicing a pointer to a slice or vector. #2681
- Generics using `@generic` rather than module based.
- Reduced memory usage for backtraces on Linux.
### Fixes
- Regression with npot vector in struct triggering an assert #2219.
@@ -44,6 +45,8 @@
- `foo.x` was not always handled correctly when `foo` was optional.
- `x'1234' +++ (ichar[1]) { 'A' }` would fail due to missing const folding.
- Miscompilation: global struct with vector could generate an incorrect initializer.
- `String.tokenize_all` would yield one too many empty tokens at the end.
- `String.replace` no longer depends on `String.split`.
### Stdlib changes
- Add `ThreadPool` join function to wait for all threads to finish in the pool without destroying the threads.