SCUA 0.47.0 makes things faster and fixes some bugs. There is no new syntax and nothing to change in your code.
#What is faster
- Functions with typed record parameters. Called from a hot loop, they now run at the speed of the same code without the annotations.
- Searching text and lists:
str.find,str.contains, andx in listfor numbers, bools and enums. - Regex matches on short strings.
str.join, a builder'sadd, and dictionaries with int keys.- Garbage collection in a partition, which now costs the same in a large program as in a small one.
- The interpreter, which is the runtime on platforms that don't allow a JIT.
#What is fixed
This release fixes several bugs in the JIT, where a compiled loop could give a different result from the interpreter. If you are on 0.40.0 or later, we recommend upgrading.
#What's next
The next step on the roadmap is still the public package registry: a static index served from a CDN, with a signed transparency log from the first public publish.
The changelog lists everything in 0.47.0, with the numbers and the details of each fix.