Render
Render renders the demo for gnoweb.
Example
1Render("") / Render("/") -> the full demo
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/fenwickdemo/v0.Render()"
Result
Package fenwickdemo is a small gnoweb demo of the Binary Indexed Tree provided by the p/moul/x/daily/fenwick(/p/moul/x/daily/fenwick/v0) library: prefix sums, range queries, the internal ranges that make the structure legible, and the weighted draw that is the reason to use one.
It contains no tree logic of its own. Stateless, so Render is deterministic: every figure below is computed from the fixed tables at the top of this file, never from chain state, which is what lets an example test pin the page.
Render renders the demo for gnoweb.
1Render("") / Render("/") -> the full demo
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/moul/x/daily/fenwickdemo/v0.Render()"