perf(bluetooth): reduce CPU usage and improve async performance
This commit is contained in:
parent
b3515bb9ba
commit
b19aea769a
4 changed files with 113 additions and 101 deletions
|
|
@ -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))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue