folly::Baton — one-shot wait 동기화
folly::Baton — 한 번 post, 한 번 wait의 경량 signal primitive. condition variable보다 가볍다.
Tech articles, book reviews, and presentations.
페이지 16 / 73
folly::Baton — 한 번 post, 한 번 wait의 경량 signal primitive. condition variable보다 가볍다.
folly::SharedMutex — std::shared_mutex보다 작고 빠른 reader-writer lock, fairness 정책 선택.
folly::Synchronized<T> — 데이터와 lock을 한 객체에 묶어 잠금 누락을 컴파일 타임에 막는다.
EvictingCacheMap — 고정 size 한도와 LRU eviction policy를 결합한 single-thread cache.
ConcurrentHashMap — sharded buckets + Hazard Pointer로 erase 포함 full thread-safe hash map.
AtomicHashMap — lock-free read, append-only insert, 큰 read-heavy 워크로드용 hash map.
FixedString — fixed capacity, fully constexpr 문자열 type. compile-time concat과 hash가 가능.
small_vector — N개까지 inline 저장, overflow는 heap, std::vector 호환 인터페이스.
F14 chunk 구조와 SIMD probing — SSE2/AVX/NEON dispatch, H1/H2 hash split, 14-slot 선택 이유.
F14FastMap — key/value 크기로 ValueMap과 VectorMap 중 자동 선택, 사용자 trade-off 제거.