-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Labels
C-zerovecComponent: Yoke, ZeroVec, DataBakeComponent: Yoke, ZeroVec, DataBakequestionUnresolved questions; type unclearUnresolved questions; type unclear
Milestone
Description
The standard library exports concrete types for iterators. However, our ZeroVec types only return impl Iterator
. This limits a certain amount of flexibility; for example, you can't put multiple iterators together into a list because the compiler doesn't know that the impl Iterator
s are going to be the same type.
I also question whether impl Iterator
is highly efficient in terms of code size and performance. I remember pulling apart some spaghetti iterators into procedural code and getting a boost. Returning a concrete type could make code simpler to compile.
Thoughts? @Manishearth
Metadata
Metadata
Assignees
Labels
C-zerovecComponent: Yoke, ZeroVec, DataBakeComponent: Yoke, ZeroVec, DataBakequestionUnresolved questions; type unclearUnresolved questions; type unclear