Jesse Eichar | 24 Sep 21:45
Picon
Gravatar

Scala IO 0.2.0 has been released

Hi everyone.  Scala IO 0.2.0 has been released:



The major changes are:
  • Bug fixes
  • Several sequence type operations added to LongTraversable (like apply, zip, containsSlice, indexOf, sameElements, sliding, etc...)
  • the method limitFold has been added so that arbitrary sections of a LongTraversable can be read
  • copyData for copying data between and Input and an Output object
  • Lots and Lots of performance improvements.
A word about the performance.  Most of the operations are based on the LongTraversable which has 2 major performance impacts 
  1. LongTraversable is not specialized for Bytes so there is a lot of autoboxing that takes place
  2. Function1 is not specialized for Bytes so even if LongTraversable is specialized the boxing will still be an issue because of Function1.
The focus of 0.3.0 will be find a solution to these two issues.  

That said the performance compared to 0.1.x and 0.2.0-SNAPSHOT is improved by often 1000x or more and can be considered quite useable for many applications but because of the technical challenges the API may have to be changed.  We will see.

Jesse

Gmane