MobilityDB 1.3
Loading...
Searching...
No Matches

◆ random_level()

static int random_level ( )
static

This simulates up to SKIPLIST_MAXLEVEL repeated coin flips without spinning the RNG every time (courtesy of the internet)