This fascinating snippet of Rust does some tricky work with no allocations or copying, type- and memory-safely: gist.github.com/Aatch/5734372
Conversation
Replying to
it at least allocates the Some() on line 59, right? Very cool, though.
1
Ah, sorry, I wasn’t counting stack allocations because they’re not what I normally worry about. Yes.
1
Show replies

