mirror of
https://github.com/fmtlib/fmt.git
synced 2026-09-13 22:32:36 +08:00
Enums that are too sparse for the index table were formatted by scanning all enumerators. Replace the scan with an open-addressed hash table with linear probing, sized to the smallest power of two that keeps the load factor at or below 0.5. This guarantees a free slot, which terminates the probe sequence and doubles as the not-found result because identifiers are never empty. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| args.h | ||
| base.h | ||
| chrono.h | ||
| color.h | ||
| compile.h | ||
| core.h | ||
| enum.h | ||
| fmt-c.h | ||
| format-inl.h | ||
| format.h | ||
| os.h | ||
| ostream.h | ||
| printf.h | ||
| ranges.h | ||
| std.h | ||
| xchar.h | ||