Skip to content

Commit

Permalink
perf: update textwrap to version 0.7.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgeisler committed Jul 22, 2017
1 parent 76869a0 commit c2d4e63
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 @@ -24,7 +24,7 @@ bitflags = "0.9"
vec_map = "0.8"
unicode-width = "0.1.4"
unicode-segmentation = "~1.1.0" # 1.2.0 requires Rust 1.13.0
textwrap = "0.6.0"
textwrap = "0.7.0"
strsim = { version = "0.6.0", optional = true }
ansi_term = { version = "0.9.0", optional = true }
term_size = { version = "0.3.0", optional = true }
Expand Down

0 comments on commit c2d4e63

Please sign in to comment.