How this site is made

The figure library — page 4

Every picture here is generated from code at build time. This page lists the generator families, how many essays call each one, and what each draws with no arguments at all. Page 4 of 5, schedule-aliasing to sort-trace.
0501001502002540506075100125150200250500worst rank errorvalue cycle length, pthe ordered streamthe same values shuffledperiod 50 · ◆ commensuratecommensurate excess 1.03×

schedule-aliasing

1 essay
10³10⁴10⁴array length ntotal over 2,000 searchesbranchy, comparisonsbranchless, comparisonsbranchy, mispredictsbranchless, mispredicts2-bit counters, no historysolid: comparisons · dashed: mispredicts

search-branches

1 essay
048best: 0 at 150position in the textcost of the best match ending here, in editsdashed: the threshold k = 2 · unit cost9 positions under it

search-row

2 essays
randomised pivot164 random bits2.96 ±23%median of mediansno random bits7.94 ±2%0.04.38.6comparisons per element — bar is the range over seeds, tick is the mean30 seeds, n = 4,001, median2.68× the mean, 14× the spread

select-constants

2 essays
1,00010,00010³bits of select supportpositions inspected, worst casebinary search, no extra bits: 510L=8L=256L=8L=256one position per L onesdense and sparse6,554 ones in 65,536 positions · sub-blocks of 8worst cases, every k

select-cost

3 essays
010020030040021φ 382φ 7203φ 17434φ 42885φ 1012486φ 242measured 409counts chargedlevel of the foldcharged at this levelrunning total64 shards · k = 32 · hashedcharged 409 · measured 409

shard-regime

3 essays
1 coefficient13 members2 coefficients169 members3 coefficients2,197 members4 coefficients28,561 members1 key2 keys3 keys4 keys5 keysexact92% gone99% gone100% gone100% goneexactexact92% gone99% gone100% goneexactexactexact92% gone99% goneexactexactexactexact92% goneevery member walked · GF(13) · no tolerance and no seeddegree 1, 2, 3, 4

sign-degree

2 essays
hash rowh1h2h3h4h1 → cell 30: 7,315h2 → cell 29: 7,467h3 → cell 19: 7,423h4 → cell 4: 7,660key 0 occurred 6,793 times · the minimum of the four is 7,315 · over by 522the additive bound at this width is e/w × N = 3,3984×32 counters · 4,096 bits · Zipf s = 1.1exact would take 86,265 bits

sketch-state

9 essays
0.1250.30.50.70.80.90.99probability of the dominant symbolbits per symbol0.01.63.2one bit per symbolHuffmanArithmeticEntropy H₀model: order 0 · 16,384 symbols per point8.7× at p = 0.99

skew-staircase

2 essays
8 patterns of 10 characters over four symbols02,0004,0006,0008,00010,00012,00014,00016,00018,000one cell = 10 positions · shade = fraction read61.6% of the text

skip-profile

2 essays
level 1level 2level 3level 4level 5key 21search: 8 comparisons, 3 hops26 keys, p = 0.5, seed 2026081057 coin flips decided the shape

skiplist-shape

2 essays
10⁴10010³n (elements)block transfersmeasured sortthe bound3.20×2.67×2.29×2.94×2.67×2.40×B = 32, M = 512 (M/B = 16)3.20× the floor at worst

sort-floor-gap

2 essays
10³10⁴10010³n (elements)block transfersM = 256 · fan-in 7M = 1024 · fan-in 31B = 32, M as labelled4 passes against 3

sort-passes

9 essays
after 0 writes0 cmpafter 32 writes32 cmpafter 64 writes63 cmpafter 95 writes94 cmpafter 127 writes125 cmpafter 159 writes157 cmprandom input, seed stated in lib/count.js157 comparisons in this run

sort-trace

2 essays