mikeal / SLEEP

Implementation of the SLEEP protocol.
29 stars 6 forks source link

fix various bugs #4

Closed max-mapper closed 11 years ago

max-mapper commented 11 years ago

this pull request:

mikeal commented 11 years ago

i'm starting to think that getSequences needs to be a stream in "object mode". i've already run in to some memory issues when pulling a SLEEP feed and writing more new data than i'm reading.

max-mapper commented 11 years ago

yea I dont think there is a valid use case for a non streaming mode. if you want to aggregate all changes you can just use concat-stream or something

mikeal commented 11 years ago

it was mostly there to simplify for the code the "lower common denominator" case of serializing an object.