use vec![] instead of Vec::new() + push() avoid redundant clones use chars instead of &str for single char patterns in ends_with() and starts_with() allocate some Vecs with capacity to avoid unneccessary resizing |
||
|---|---|---|
| .. | ||
| lib.rs | ||
| msg.rs | ||
| process.rs | ||
| rpc.rs | ||
| version.rs | ||