logo
首页技术栈工具库讨论
transducer

transducer

Composable algorithmic transformations. Transducers let you combine reduction operations like `map`, `filter`, `take_while`, `take`, and so on into a single reducing function. As with Stream, but in contrast to Enum, all operations are performed for each item before the next item in the enumerable is processed. One difference with the Stream module is that the transducers' reducing functions don't have to produce an enumerable, while Stream module transformations always do.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
标签
根据用户添加的标签生成
暂无标签