`memory_order_relaxed` offers the fastest atomic operations by providing no synchronization or ordering constraints beyond guaranteeing atomicity, making it suitable for simple atomic counters or statistics where inter-thread ordering is irrelevant.
Open the full topic