From 9074015d1c1fdf3cb8b52cc3f7f6c4db41987ef7 Mon Sep 17 00:00:00 2001 From: Filip Andersson <17986183+FilipAndersson245@users.noreply.github.com> Date: Fri, 15 Sep 2023 21:17:33 +0200 Subject: [PATCH] Adds mimalloc as default feature. (#10378) # Description This PR makes `mimalloc` the default allocator, it has been the default on the nightly builds of nushell now for a couple of months and the performance improvements are quite nice, measuring upwards of 30% faster startup time on Windows, and a bit smaller on Linux, https://github.com/nushell/nushell/pull/9415 # User-Facing Changes # Tests + Formatting # After Submitting --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3b57c90245..25ccb4e43c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -112,7 +112,7 @@ plugin = [ "nu-protocol/plugin", "nu-engine/plugin", ] -default = ["plugin", "which-support", "trash-support", "sqlite"] +default = ["plugin", "which-support", "trash-support", "sqlite", "mimalloc"] stable = ["default"] wasi = ["nu-cmd-lang/wasi"] # NOTE: individual features are also passed to `nu-cmd-lang` that uses them to generate the feature matrix in the `version` command