The asReader() methods are also doing more work than necessary. To address that, I think I'll first need to get the lifetime parameter situation sorted out.
On Sun, Nov 17, 2013 at 4:49 PM, Huon Wilson <dbau...@gmail.com> wrote: > On 18/11/13 06:30, David Renshaw wrote: > > Hi everyone. > > I wrote up some of my latest experiences implementing Cap'n Proto > encoding for Rust. > > A performance comparison to C++, or "capnproto-rust is pretty fast": > http://dwrensha.github.io/capnproto-rust/2013/11/16/benchmark.html > > A discussion of safety, or "why I'm so keen to see support for static > trait methods with lifetime parameters": > http://dwrensha.github.io/capnproto-rust/2013/11/17/lifetimes.html > > > > _______________________________________________ > Rust-dev mailing > listRust-dev@mozilla.orghttps://mail.mozilla.org/listinfo/rust-dev > > > This is cool! > > I see that you mention slowness in IO and some extra string copies; are > there any other low-hanging fruit that you know of? Or is it all down to > micro-optimisation now? > > > Huon > > _______________________________________________ > Rust-dev mailing list > Rust-dev@mozilla.org > https://mail.mozilla.org/listinfo/rust-dev > >
_______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev