Skip to content

Commit c2d4e63

Browse files
committed
perf: update textwrap to version 0.7.0
This version of textwrap uses a new wrapping algorithm that allocates fewer strings on the heap. The 05_ripgrep benchmarks shows a performance improvement of 3-15%. The build_help_long benchmark benefits the most since it uses longer help texts.
1 parent 76869a0 commit c2d4e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ bitflags = "0.9"
2424
vec_map = "0.8"
2525
unicode-width = "0.1.4"
2626
unicode-segmentation = "~1.1.0" # 1.2.0 requires Rust 1.13.0
27-
textwrap = "0.6.0"
27+
textwrap = "0.7.0"
2828
strsim = { version = "0.6.0", optional = true }
2929
ansi_term = { version = "0.9.0", optional = true }
3030
term_size = { version = "0.3.0", optional = true }

0 commit comments

Comments
 (0)