diff options
feat: paralllelism, memory overcommitment to save on repeated mallocs
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 = [] |