projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.05k stars 95 forks source link

Consider using parking_lot::RWLock instead of Mutex for concurrent::FluentBundle #165

Open zbraniecki opened 4 years ago

zbraniecki commented 4 years ago

I think in the current design there might be a way to use RWLock with upgrading, but I'd land this first and then experiment with that

Originally posted by @Manishearth in https://github.com/projectfluent/fluent-rs/pull/164#issuecomment-595896639