brutusyhy / polars-explorer

A data explorer app for Polars based on Tauri
MIT License
24 stars 4 forks source link

Removing unnecessary mutex #13

Closed brutusyhy closed 2 weeks ago

brutusyhy commented 2 weeks ago

I was under a false impression regarding how mutex and interior mutability pattern work in Rust: in fact, it looks like all the structures starting from LoadedFrame will be protected by the lock over the LoadedFrame map, so there's no need for extra mutex.