radicle-heartwood-lfs/crates/radicle-cli
Matthias Beyer f6f3be437b cli/issue: Optimize how the issues are collected
This patch optimizes how the issues are collected.
Before, the issues where pushed to a new instance of `Vec`, which was
not preallocated to the size of the iterator.
This could be slow when a large number of issues is returned by the
iterator.

With the `Iterator::collect` function, the `FromIterator` implementation
of `Vec` is used, which makes use of `Iterator::size_hint` for
optimizing how much space is preallocated when collecting into the
`Vec`.

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2025-08-17 20:22:56 +02:00
..
examples cli: Add verbose printing of authors 2025-08-14 16:15:19 +01:00
src cli/issue: Optimize how the issues are collected 2025-08-17 20:22:56 +02:00
tests radicle: Move logging setup calls to binaries 2025-08-07 08:30:59 +01:00
Cargo.toml release: prepare crates 2025-08-12 12:13:49 +02:00
build.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00