jneem / imbl

Blazing fast immutable collection datatypes for Rust.
Mozilla Public License 2.0
78 stars 12 forks source link

feat: allow to pick Arc vs Rc via GATs? #82

Open dzmitry-lahoda opened 4 days ago

dzmitry-lahoda commented 4 days ago

Given Rust GATs are stable for a while, can use these go make imbl Arc/Rc generic?

For example https://www.youtube.com/watch?v=JwG-Wa7dOBU

It will allow same code run in multi and single thread scenarios

jneem commented 4 days ago

Probably! We had some discussion here already. Mostly, it's just waiting for someone to try to do it :smile:

dzmitry-lahoda commented 3 days ago

If one would try to do that, what is most promising code lines to plug changes to get code compile asap?

I mean what data structure and what line I can modify towards, can compilation broken, and than fixing it, and get test passed?