pub fn init(allocator: Allocator) BufMap
Create a BufMap backed by a specific allocator. That allocator will be used for both backing allocations and string deduplication.
allocator: Allocator
17 18 19
pub fn init(allocator: Allocator) BufMap { return .{ .hash_map = BufMapHashMap.init(allocator) }; }
Create a BufMap backed by a specific allocator. That allocator will be used for both backing allocations and string deduplication.