Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

README.md

1.49 Kb · 32 lines

Ring Buffer

⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.


Pushes six entries into a buffer of capacity four and renders, step by step, what survived and what each overflowing push evicted.

Demo of the p/moul/x/daily/ringbuffer library — this realm holds no buffer logic of its own. Stateless, so Render is fully deterministic.

Showing the evicted value in its own column is deliberate: it is the part of the API that keeps a rolling window from dropping data silently.

Built for gno 0.9.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

Dependency graph:

gno.land/r/moul/x/daily/ringbufferdemo/v0 dependency graph

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.