perf(fmt): reduce memory usage and improve performance (#22570)

Reduces memory usage of the fmt command and fixes a memory leak.

Also improves slightly improves performance.
This commit is contained in:
David Sherret 2024-02-23 16:11:45 -05:00 committed by GitHub
parent bcf2156dbf
commit 22cd8ebf1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 33 additions and 19 deletions

View file

@ -95,10 +95,10 @@ dashmap = "5.5.3"
data-encoding.workspace = true
dissimilar = "=1.0.4"
dotenvy = "0.15.7"
dprint-plugin-json = "=0.19.1"
dprint-plugin-jupyter = "=0.1.2"
dprint-plugin-markdown = "=0.16.3"
dprint-plugin-typescript = "=0.89.2"
dprint-plugin-json = "=0.19.2"
dprint-plugin-jupyter = "=0.1.3"
dprint-plugin-markdown = "=0.16.4"
dprint-plugin-typescript = "=0.89.3"
env_logger = "=0.10.0"
fancy-regex = "=0.10.0"
# If you disable the default __vendored_zlib_ng feature above, you _must_ be able to link against `-lz`.