micromap 0.3.0

The fastest alternative to HashMap, for maps smaller than 20 keys
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// SPDX-FileCopyrightText: Copyright (c) 2023-2026 Yegor Bugayenko
// SPDX-License-Identifier: MIT

use super::Set;

impl<T: Clone, const N: usize> Clone for Set<T, N> {
    #[inline]
    fn clone(&self) -> Self {
        Self {
            map: self.map.clone(),
        }
    }
}