December 23, 2025 0 comments on "Link blog: buffer, programming" Link blog: buffer, programming I’ve been writing ring buffers wrong all these years You can save one whole slot (and some code) if you just let the indices increment until they wrap (assuming unsigned ints).(tags: programming buffer)