William

Results 154 comments of William

Just gonna cross-post this which solved the issue for me: https://github.com/briansmith/ring/issues/563#issuecomment-676861003

Thank you for your contribution!

I think it should be documented that `serialized_size` isn't for optimisation purposes (and typically is slower) for the pattern described here https://github.com/bincode-org/bincode/issues/539#issuecomment-1094033736

No Chinese spyware pls #3

> @WilliamVenner Thanks for adding that nice highlighting. As part of the changes you added, are references/definitions supposed to work? Or am I misunderstanding? If I right click on a...

Definitely, but that's going to be a difficult function to name 😁 I'm happy to change it up if we can come up with a self-descriptive name. `try_send_clonable` doesn't really...

There is a _very slight_ QoL benefit to using a Cow here, which I think should have virtually no overhead: ```rust fn send_with_extra_processing(ch: Sender, data: Cow, extra arguments...) -> ......

As in, changing `try_send` to `try_send_owned`? This is probably the sensical thing to do, but that leaves us with no choice to either mark `try_send` as deprecated (which would kind...