vsbench

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Command vsbench — head-to-head do SetrixDB contra estruturas de mercado.

MEMBERSHIP sobre N chaves uint64:

  • Go map[uint64]struct{} (hash table)
  • MPHF (CHD) + 1 verificação (SetrixDB) [exato]
  • Bloom filter (1% FP) [aproximado]

INTERSEÇÃO de dois conjuntos (A,B), em 2 cenários:

  • denso32 : IDs 0..2N (como no SetrixDB real: IDs do MPHF, densos/32-bit)
  • aleat64 : uint64 aleatórios (pior caso p/ bitmaps) estratégias: sorted merge (SetrixDB) · Roaring · hash join (map)

Uso: go run ./cmd/vsbench -n 1000000

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址