-
let mut buf: Vec<u8> = Vec::with_capacity(200);
frame.encode(&mut buf).unwrap(); Frame is generated from .proto file. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Did you bring the |
Beta Was this translation helpful? Give feedback.
-
Hi @fd, Could you give me some performance advices? My CPU profile shows that, it consumes a lot CPU when I call From the flame graph, What I want is to make HTTP requests via Am I doing it right? Are there more efficient ways of do this? |
Beta Was this translation helpful? Give feedback.
Did you bring the
prost::Message
trait in scope? Try adding ause prost::Message;
.