panopticon-tui
panopticon-tui copied to clipboard
[WIP] String copies refactor
Hi!
While learning I'm trying to address #4. Here I think we avoid few copies, I only looked at replace_fiber_dump
and I plan to look at tree_list_widget
tomorrow. I still don't get the exact difference in to_owned
for our case.
Hey @mtsokol ! Great that you're working on this one. I'll be back on Monday to maybe look closer
While getting acquainted with code I changed minor borrow-related bits to avoid more copying - thought they got corrected but might be wrong.