perf(bluetooth): reduce CPU usage and improve async performance

This commit is contained in:
Michael Aaron Murphy 2025-04-15 15:43:24 +02:00 committed by Michael Murphy
parent b3515bb9ba
commit b19aea769a
4 changed files with 113 additions and 101 deletions

View file

@ -34,6 +34,7 @@ macro_rules! fl {
}
// Get the `Localizer` to be used for localizing this library.
#[inline]
pub fn localizer() -> Box<dyn Localizer> {
Box::from(DefaultLocalizer::new(&*LANGUAGE_LOADER, &Localizations))
}