Lightning Talk: Tokenized Logging with Pigweed
summary
Pigweed replaces string literals with a 32‑bit hash token so logs send tokens not full strings; an example reduces a 41‑byte format string to 4 bytes and cuts transmission from 49 to 15 bytes. Zephyr integration uses a Pigweed module + KConfig and emits a token database artifact per build. Chromebook EC sees about 14 KB (6%) image reduction and a merged global token DB grows to ~66 KB after 20 boards (~1 KB per board). Collision estimates: ~9,300 strings for 1% chance, ~77,000 for 50%.
AI-written summary · about








