Skip to content

Commit

Permalink
Update Cargo.toml , mimalloc speedup
Browse files Browse the repository at this point in the history
By default this library builds mimalloc in secure mode. This means that heap allocations are encrypted, but this results in a 3% increase in overhead.
  • Loading branch information
i18nsite authored Apr 4, 2024
1 parent c717f4b commit 93eb23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"

# malloc
mimalloc = { version = "0.1", optional = true }
mimalloc = { version = "0.1", optional = true, default-features = false }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "0.5", optional = true }
Expand Down

0 comments on commit 93eb23e

Please sign in to comment.