diff options
| author | Alice Ryhl <aliceryhl@google.com> | 2025-11-25 13:59:40 +0000 |
|---|---|---|
| committer | Yury Norov (NVIDIA) <yury.norov@gmail.com> | 2025-12-02 14:14:50 -0500 |
| commit | 69ec6a1bed3017293a3430e2f8e3c01b29496446 (patch) | |
| tree | b4762701dfda6b6c31b80c0d16bd627a61fe6fcd /tools/lib/python/kdoc/kdoc_parser.py | |
| parent | 6297fb3863d81b0970fd435476b837739c0ea4e7 (diff) | |
rust: id_pool: do not supply starting capacity
Rust Binder wants to use inline bitmaps whenever possible to avoid
allocations, so introduce a constructor for an IdPool with arbitrary
capacity that stores the bitmap inline.
The existing constructor could be renamed to with_capacity() to match
constructors for other similar types, but it is removed as there is
currently no user for it.
[Miguel: rust: id_pool: fix broken intra-doc link]
Acked-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Reviewed-by: Burak Emir <bqe@google.com>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
