Tagged articles
4 articles
Page 1 of 1
IT Services Circle
IT Services Circle
Nov 7, 2025 · Backend Development

Why C++23’s std::flat_map and std::flat_set Boost Performance and Cache Locality

Introduced in C++23, std::flat_map and std::flat_set replace tree‑based maps and sets with vector‑backed, flat containers that offer superior cache locality, faster traversal for small‑to‑medium data sets, and reduced memory overhead, though they incur O(N) insertion costs and iterator invalidation.

C++23cache localitycontainer performance
0 likes · 6 min read
Why C++23’s std::flat_map and std::flat_set Boost Performance and Cache Locality
Liangxu Linux
Liangxu Linux
Nov 29, 2023 · Fundamentals

Inside Linux Cgroup CPU Subsystem: How Containers Get CPU Time Controlled

This article provides a detailed, code‑driven explanation of how Linux cgroup’s CPU subsystem manages container CPU usage, covering cgroup creation, limit configuration, kernel object relationships, scheduler integration, bandwidth enforcement, and the role of period and slack timers.

CPU schedulingLinux kernelcfs_bandwidth
0 likes · 27 min read
Inside Linux Cgroup CPU Subsystem: How Containers Get CPU Time Controlled