See #31 where I introduce ListOfList as being the perfect data structure for snowplow streaming apps.
Currently, our BatchUp methods required a combine method for combining smaller batches into larger batches. If we implemented this for a ListOfList then it would look something like this:
But that does not make the best use of a ListOfList, because it uses the fairly slow ::: operator, whereas the real benefit of ListOfList is it has fast prepend.
See #31 where I introduce
ListOfList
as being the perfect data structure for snowplow streaming apps.Currently, our
BatchUp
methods required acombine
method for combining smaller batches into larger batches. If we implemented this for aListOfList
then it would look something like this:But that does not make the best use of a
ListOfList
, because it uses the fairly slow:::
operator, whereas the real benefit ofListOfList
is it has fast prepend.