scalable-concurrent-containers icon indicating copy to clipboard operation
scalable-concurrent-containers copied to clipboard

Feature request: remove_all() returning all items.

Open beckend opened this issue 7 months ago • 5 comments

Can this be added for all containers?

Remove all items from all containers, return them Option<Vec<V>> or Option<Vec<(K, V)>>.

Scanning and copy key to remove using 2 loops is pain.

beckend avatar Jul 16 '24 01:07 beckend