Yoav Tzfati

Results 32 comments of Yoav Tzfati

> I don't think it needs to be a module if it's already a separate crate I don't follow, is there a separate crate? I don't understand if you're suggesting...

Are there plans for trying to get this in to the 2024 edition?

I think you understood correctly :) A `VecDeque` is definitely more canonical, but the issue with it is that it's not contiguous. I had some ideas on how to utilize...

Makes sense. How do you usually collect use cases? This was my use case - an over optimized solution to Advent of code day 23 😅 https://github.com/Crazytieguy/advent-of-code/blob/master/2022/src/bin/day23/main.rs Compared to using...

A couple more thoughts: * It might be easier to find use cases for the mutable version * Do you know of any progress towards lending iterators? Will they allow...

I think the playground example is cool - and I think maybe the best pattern would be to have a way to turn an `Iterator2` back into an iterator, using...

Well this probably no longer concerns itertools, but if you want I'd appreciate feedback on [this](https://github.com/Crazytieguy/lending-iterator/blob/master/src/lib.rs), as a proof of concept. I'm trying to contact the creator of lending_iterator to...

@GnomedDev as far as I can tell, your use case is very similar to std::HashMap and can probably be solved the same way - by implementing a regular, non lending...

Sounds good. Just to be clear I understand your crate is different than a HashMap - I just wanted to express I think you can get away with a non-lending...

@DCNick3 [This article](https://sabrinajewson.org/blog/the-better-alternative-to-lifetime-gats) should explain why your example doesn't compile. There might be a way to make it work for your specific use case (want to share a more specific...