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

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

README.md

2.38 Kb · 38 lines

Run-Length Encoding

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


Encodes a few samples, round-trips them, and reports the size ratio.

/r/nym-moultest123/x/daily/rledemo/v0          → the samples table
/r/nym-moultest123/x/daily/rledemo/v0:aaabbc   → encode your own text

Demo of the p/moul/x/daily/rle library — no codec logic lives here. Stateless, so Render is deterministic.

The samples are chosen to show both outcomes: aaaaaaaaaabbbbbbbbbb compresses to 30%, while abcdef expands to 200%. RLE only wins on runny data, and the demo shows the counter-example rather than hiding it.

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.

On mainnet: deployment status transactions unique callers deployed revision

Dependency graph:

gno.land/r/nym-moultest123/x/daily/rledemo/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.