clap/tests
Ed Page c165b601ac perf: Switch to &'static str by default
Originally, clap carried a lifetime parameter.  When moving away from
that, we took the approach that dynamically generated strings are always
supported and `&'static str` was just an optimization.

The problem is the code size increase from this is dramatic.  So we're
taking the opposite approach and making dynamic formatting opt-in under
the `string` feature flag.  When deciding on an implementation, I
favored the faster one rather than the one with smaller code size since
small code size can be gotten through other means.

Before: 567.2 KiB, 15.975 µs
After: 541.1 KiB, 9.7855 µs
With `string`: 576.6 KiB, 13.016 µs
2022-09-16 16:44:39 -05:00
..
builder perf: Hint to the compiler when once_cell isn't needed 2022-09-16 16:14:32 -05:00
derive fix(derive): Remove next_help_heading isolation 2022-09-16 15:31:49 -05:00
derive_ui fix(derive): Improve skip method error 2022-09-06 10:48:54 -05:00
ui fix(parser): Quote the suggested help 2022-09-15 16:24:59 -05:00
derive_ui.rs chore: Bump MSRV to 1.60.0 2022-08-10 21:32:06 -05:00
examples.rs perf: Switch to &'static str by default 2022-09-16 16:44:39 -05:00
macros.rs fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
ui.rs perf: Switch to &'static str by default 2022-09-16 16:44:39 -05:00