Streams are a clever idea that allows one to use sequence manipulations without incurring the costs of manipulating sequences as lists. With streams we can achieve the best of both worlds: We can formulate programs elegantly as sequence manipulations, while attaining the efficiency of incremental computation.
如果提炼一下的话,我觉得 stream 最大的特点就是增量,这里的 stream 可以和 js 中的 stream 有可相比之处。
如果提炼一下的话,我觉得 stream 最大的特点就是增量,这里的 stream 可以和 js 中的 stream 有可相比之处。
展开
评论
1