Why don't combinators on iterators in stdlib propagate length hints?

后端 未结 0 1539
南旧
南旧 2021-01-04 11:59

There is a protocol for specifying a length hint (object.__length_hint__) on iterators. However, all the functions in the stdlib that I have tested with do not prop

相关标签:
回答
  • 消灭零回复
提交回复
热议问题