atproto utils for zig zat.dev
atproto sdk zig
Something went wrong. Try again.
optimize encoder: fused text writes, stack sort for small maps master
Fuse header+payload into a single writeAll for text strings < 24 bytes (all AT Protocol map keys), halving writer dispatch count per key. Use a stack buffer for sorting maps with ≤16 entries (all AT Protocol records), eliminating allocator calls on the sort path. Encode+CID path improves ~9%, full record encode ~7%. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author jcalabro Co-author Claude Opus 4.6 (1M context) Date (Apr 3, 2026, 3:55 PM UTC) Commit 129ec288 129ec288dab9a61ff0704b48addc12ae1f647080 Parent 968d03a4 968d03a4988a12a81e6668a128153bd63ca546ee