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.

bitsetdemo/v0 package

Overview

Package bitsetdemo is a small gnoweb demo of the dense bit vector provided by the p/moul/x/daily/bitset(/p/nym-moultest123/x/daily/bitset/v0) library: it sieves the primes under 100 into a bit set and shows the set algebra on two small sets.

It contains no bit-twiddling of its own — storage, popcount and the set operations all come from the library. Stateless, so Render is deterministic.

Function

Render

func Render(path string) string
Ask AI Claude ChatGPT

Render renders the demo for gnoweb.

Param

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/nym-moultest123/x/daily/bitsetdemo/v0.Render()"

Result