Welcome to a brand new release of the ABS programming language: in this version we've introduced file writers, break/continue and made for..in
loops 30% faster!
New features
- file writers:
>
and>>
let you write to a file when in between 2 string arguments, such as"text" > "file.ext"
.>
truncates and writes while>>
appends (#245) [].unique()
allows you to obtain unique values from an array (#247)break
andcontinue
can now be used insidefor
andfor..in
loops (#244)
Bugfixes
- fixed a stack overflow that would happen on large
for..in
loops (> 1M elements): the original implementation offor..in
naively used recursion, so we simply switched to a regular loop. With this change,for..in
loops are also up to 30% faster (#246)
Misc
- happy to say that ABS' executables are now 25% lighter thanks to using the right ldflags during the Go build process -- builds are now between 2 and 3 megabytes