Home / Function/ genPairs() — bun Function Reference

genPairs() — bun Function Reference

Architecture documentation for the genPairs() function in map.js from the bun codebase.

Entity Profile

Relationship Graph

Source Code

bench/deepEqual/map.js lines 6–10

function* genPairs(count) {
  for (let i = 0; i < MAP_SIZE; i++) {
    yield ["k" + i, "v" + i];
  }
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free