I could respond point by point, but the question boils down to: Why implement a polling-based approach when we have a notification mechanism (through process filter functions)?
If we want to process larger chunks, we should use a conditional in the process filter function; e.g., only call the parser when more than X bytes of input have arrived. This is a much more direct way to ensure that input is processed in chunks of the desired size. Sleeping for a while and hoping that a chunk of the right size will arrive in the meantime is much less reliable. Isn't a conditional in the process filter function a preferable solution? Christian. _______________________________________________ Dvc-dev mailing list [email protected] https://mail.gna.org/listinfo/dvc-dev
