aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 46 forks source link

Switch to pass by reference #104

Closed PotatoParser closed 3 years ago

PotatoParser commented 3 years ago

Just some minor memory optimizations by passing structs by reference instead of value.

aaronjanse commented 3 years ago

Thank you for these fixes! I'll have time to test them out Wednesday.

aaronjanse commented 3 years ago

whoops, accidentally clicked submit. I meant to add, it looks like I've been spoiled by Rust's borrowing without &/`` syntax :-)

aaronjanse commented 3 years ago

LGTM. Thank you for the PR @PotatoParser!