Met up with @GolDDranks today, which was A. Really fun, and B. Learned about his proposal for Vec::recycle which seems like a really cool idea!
Replacement for Vec::clear + mem::transmute, but no bounds checks so faster (if I understand correctly
)https://github.com/rust-lang/rfcs/pull/2802 …
-
-
Replying to @yoshuawuyts
Actually, it's not about bounds check but making an unsafe pattern (and a pattern you wouldn't normally think about, but which ought to be possible, for re-using allocations), a safe pattern.
1 reply 0 retweets 3 likes -
Replying to @GolDDranks @yoshuawuyts
Anyway, sorry for nitpicking! I had really fun too! If you're still around and have time (after the onsen), I'd love to try and gather some Japanese members of the Rust Tokyo community too and have another round!
1 reply 0 retweets 2 likes
Replying to @GolDDranks
Thanks for clarifying! Yeah I'd def be down! Back on the weekend, let's link up! 
6:44 AM - 3 Dec 2019
from Sumida-ku, Tokyo
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.