Skip to content

Instantly share code, notes, and snippets.

View alloc.rs
use core::cmp;
use core::ptr;
use core::{mem, mem::MaybeUninit};
extern crate alloc;
use alloc::alloc::Layout;
use core::sync::atomic::{AtomicBool, AtomicUsize, Ordering};
use hashbrown::HashMap;