4 ms·
Unix pipes are very effective I believe.
by fsniper 12y ago
Unix pipes are very effective I believe.
- blt 12y agoright, because you don't have to parse data coming over a pipe. :rolleyes:
- PeterisP 12y agoSerializing and deserializing heavily structured data in order to fit over a unix pipe takes a lot of effort - I'm often doing things where the reading and writing data takes up more code and processing time than the actual processing, which is simple once the data is in a sane data structure, not in a stream. If your data structure is "a line of text, repeated x times" or "a blob representing an image", then unix pipes are very effective. For most everything else, they're not.