Jakub Beránek

Results 761 comments of Jakub Beránek

You're right, I wanted to avoid creating a shared inner state structure, but I guess it cannot be avoided.

Well it's a minor complication for the code, but it's fully justified in this case. I wanted to know if there's some Rust way to do it without the shared...

I refactored it using the WrappedRcRefCell. I have two (maybe noob) questions. 1) I made the Client outside API surface shared (the client's methods use `&self,` not `&mut self`). Since...

I was worried about a possible situation where the refcell would be borrowed mutably multiple times at once, but I don't think that's possible with the current design (since the...

Added basic tasks, data objects and fetch wrappers. The contents of capnp.rs should probably be using the serialization machinery from common. Example usage: ```rust let client = Client::new(SocketAddr::new( IpAddr::from_str("127.0.0.1")?, 7210,...

Added local cluster with locally spawned processes (using Starter).

Have you tried uploading the pictures in batches? If you have 400 images, you can try uploading them in batches of 50 for example, maybe that could help with the...

Supporting `cargo bench` is definitely on my TODO list, I just didn't do it yet since benchmarks are not stable. I will try to implement it soon.

I implemented support for gathering PGO profiles from benchmarks in https://github.com/Kobzol/cargo-pgo/pull/9. For BOLT, it's a bit more complicated and I'll have to implement it in another way, to also support...

I made two changes in https://github.com/Kobzol/cargo-pgo/pull/15: - PGO profiles are now named after the hash of their content. This means that if you do this: 1) Gather profile 2) Optimize...