3 ms·
Note that you can just return `Box<Iterator<Item=...>>`. Slight allocation+virtual dispatch overhead there, but not much. Note that there is good activity arou
by Manishearth 11y ago
Note that you can just return `Box<Iterator<Item=...>>`. Slight allocation+virtual dispatch overhead there, but not much.
Note that there is good activity around abstract return types happening (seems to be something the core team is putting effort into?), so it might happen soon.