summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-25 16:31:33 +0100
committerLibravatarLarge Libravatar memdmp <memdmpestrogenzone>2026-01-25 16:31:33 +0100
commit6ae2681aa1abc1fa447d64d2a269878e29b1d904 (patch)
treec2069ee898a2d30c8eab1ddde36691653d6abb93 /Cargo.toml
parent6e3b3c8013e6d8814dbf70c854e55d062bedbdf4 (diff)
downloadbibata-cursor-cli-6ae2681aa1abc1fa447d64d2a269878e29b1d904.tar.gz
bibata-cursor-cli-6ae2681aa1abc1fa447d64d2a269878e29b1d904.tar.bz2
bibata-cursor-cli-6ae2681aa1abc1fa447d64d2a269878e29b1d904.tar.lz
bibata-cursor-cli-6ae2681aa1abc1fa447d64d2a269878e29b1d904.zip

feat: paralllelism, memory overcommitment to save on repeated mallocs

Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 41d2cf0..97dafb1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
[dependencies]
+rayon = "1.11.0"
resvg = "0.44.0"
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.133"
@@ -14,3 +15,9 @@ usvg = "0.44.0"
lto = "fat"
codegen-units = 1
strip = "symbols"
+
+[features]
+default = ["overalloc"]
+
+# Potentially over-allocate xcursor vectors to gain performance
+overalloc = []