chore: Use mimalloc; 2x faster than glib malloc
This commit is contained in:
parent
846c4106f8
commit
34c75cc2b9
3 changed files with 25 additions and 0 deletions
|
|
@ -4,6 +4,11 @@
|
|||
use pop_launcher_plugins as plugins;
|
||||
use pop_launcher_service as service;
|
||||
|
||||
use mimalloc::MiMalloc;
|
||||
|
||||
#[global_allocator]
|
||||
static GLOBAL: MiMalloc = MiMalloc;
|
||||
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
async fn main() {
|
||||
if let Some(plugin) = std::env::args().next() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue