Files
pipewire-soundpad/pwsp-gui
Tarasov Aleksandrandgoogle-labs-jules[bot] 6eff8b2c6d perf(gui): eliminate allocations during cache file read using BufReader (#192)
* perf: eliminate allocations during cache file read using BufReader

Replaced `fs::read_to_string` combined with `serde_json::from_str` with `std::fs::File::open` and `serde_json::from_reader(std::io::BufReader::new(file))`. This avoids loading the entire JSON file into a string allocation before parsing it, improving memory usage.

Co-authored-by: arabianq <55220741+arabianq@users.noreply.github.com>

* small reformatting

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-09-09 13:15:05 +03:00
..
2026-07-26 21:36:22 +03:00