Releases: bernardphp/chute
Speeed
This release changes the way mapping was done in MapReduce. By introducing a MapperIterator that maps values on demand means we can work with the iterator as all values have been mapped beforehand.
Added ResultSetFactory interface which is the third and optional argument to MapReduce constructor. This factory creates ResultSet's when doinng the run. By introducing this the second argument to MapReduce::run
have been removed.
ChunkedIterator and Typo's
This release contains a lot of typo fixes in the documentation and in the phpdocs.
It also contains a new implementation of ChunkedIterator that now implements the whole interface instead of using IteratorIterator.
Traversable
This release changes the typehints from Iterator
to Traversable
. This makes it possible to use PDOStatement
directly without wrapping it in a IteratorIterator
.
It fixes ChunkedIterator
to correctly rewind and is now covered by a test case aswell.
First
Initial Release