1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! Fast-path collection and string aliases shared across the workspace.
//!
//! The bindings lean on these re-exports in hot paths so higher-level crates can
//! opt into compact strings, inline buffers, and fast hash maps without having to
//! repeat dependency choices.
use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use SmallVec;
/// Hash map alias tuned for internal lookups.
///
/// # Examples
///
/// ```
/// use tsgo_rs_core::fast::FastMap;
///
/// let mut map = FastMap::default();
/// map.insert("answer", 42);
/// assert_eq!(map.get("answer"), Some(&42));
/// ```
pub type FastMap<K, V> = ;
/// Hash set alias tuned for internal membership checks.
///
/// # Examples
///
/// ```
/// use tsgo_rs_core::fast::FastSet;
///
/// let mut set = FastSet::default();
/// set.insert("tsgo");
/// assert!(set.contains("tsgo"));
/// ```
pub type FastSet<T> = ;
/// Formats into a [`CompactString`] without going through [`String`].
///
/// # Examples
///
/// ```
/// use tsgo_rs_core::fast::compact_format;
///
/// let value = compact_format(format_args!("node-{}/{}", 1, "leader"));
/// assert_eq!(value.as_str(), "node-1/leader");
/// ```