diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-10 12:01:16 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-10 12:07:12 -0300 |
| commit | af2d2cfdcdf5976f06fbcc4b1f8507f0b7d4af89 (patch) | |
| tree | eb455143013fa1b1278ae246676153205d9a3f17 /design/mock/04-malloc-glibc-musl.svg | |
| parent | a0ca9a0bfa76cd2d04502b7f341cba5153f51899 (diff) | |
| download | computeranim-af2d2cfdcdf5976f06fbcc4b1f8507f0b7d4af89.tar.gz computeranim-af2d2cfdcdf5976f06fbcc4b1f8507f0b7d4af89.zip | |
design: the visual system canim follows, with eight mock frames
Lapis page and vellum ink; a role is a form as well as a colour (current,
write, read, pointer, allocated, freed, fault, kernel); panels as acme
windows; Go Mono for the machine and Go for the narrator; motion as whole
frames at 60 fps. design/mock/gen.py redraws the mocks from the tokens.
Diffstat (limited to 'design/mock/04-malloc-glibc-musl.svg')
| -rw-r--r-- | design/mock/04-malloc-glibc-musl.svg | 273 |
1 files changed, 273 insertions, 0 deletions
diff --git a/design/mock/04-malloc-glibc-musl.svg b/design/mock/04-malloc-glibc-musl.svg new file mode 100644 index 0000000..a638d28 --- /dev/null +++ b/design/mock/04-malloc-glibc-musl.svg @@ -0,0 +1,273 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"> +<defs><pattern id="hatch" width="20" height="20" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="5" height="20" fill="#3a4a8a"/></pattern><pattern id="hazard" width="24" height="24" patternUnits="userSpaceOnUse" patternTransform="rotate(45)"><rect width="24" height="24" fill="#050a24"/><rect width="12" height="24" fill="#ff6a4a"/></pattern></defs> +<rect width="1920" height="1080" fill="#0a1030"/> +<text x="64.0" y="81.0" font-family="Go Medium" font-size="28" fill="#9aa6d9" xml:space="preserve">malloc: glibc and musl</text> +<text x="393.2 408.2 423.2 438.2 453.2 468.2 483.2 498.2 513.2 528.2 543.2 558.2 573.2 588.2 603.2 618.2 633.2 648.2" y="81.0" font-family="Go Mono" font-size="25" fill="#6a7ab8" xml:space="preserve">heap.c:9 free(b);</text> +<text x="1790.9" y="80.0" font-family="Go Medium" font-size="22" fill="#6a7ab8" xml:space="preserve">kernel</text> +<rect x="1767.9" y="66.0" width="14.0" height="14.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<text x="1646.4" y="80.0" font-family="Go Medium" font-size="22" fill="#eee6d2" xml:space="preserve">memory</text> +<rect x="1622.4" y="65.0" width="16.0" height="16.0" fill="#e8c46a"/> +<text x="1547.1" y="80.0" font-family="Go Medium" font-size="22" fill="#6a7ab8" xml:space="preserve">cpu</text> +<rect x="1524.1" y="66.0" width="14.0" height="14.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<text x="1416.1" y="80.0" font-family="Go Medium" font-size="22" fill="#9aa6d9" xml:space="preserve">source</text> +<rect x="1392.1" y="65.0" width="16.0" height="16.0" fill="#9aa6d9"/> +<line x1="64.0" y1="104.0" x2="1856.0" y2="104.0" stroke="#3a4a8a" stroke-width="2"/> +<rect x="64.0" y="120.0" width="880.0" height="48.0" fill="#16245f"/> +<rect x="65.0" y="121.0" width="878.0" height="766.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<line x1="64.0" y1="168.0" x2="944.0" y2="168.0" stroke="#3a4a8a" stroke-width="2"/> +<rect x="79.0" y="135.0" width="18.0" height="18.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="112.0" y="154.0" font-family="Go Medium" font-size="28" fill="#9aa6d9" xml:space="preserve">glibc 2.39</text> +<text x="928.0" y="152.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">ptmalloc</text> +<text x="92.0" y="212.0" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">the heap: one run of chunks</text> +<rect x="92.0" y="266.0" width="70.0" height="88.0" fill="#3a4a8a"/> +<rect x="164.0" y="266.0" width="126.0" height="88.0" fill="#1f4a33"/> +<rect x="165.5" y="267.5" width="123.0" height="85.0" fill="none" stroke="#7fdc9a" stroke-width="3"/> +<rect x="167.0" y="269.0" width="29.0" height="82.0" fill="#3a4a8a"/> +<text x="232.5" y="322.6" font-family="Go Mono" font-size="35" fill="#eee6d2" xml:space="preserve">a</text> +<rect x="292.0" y="266.0" width="126.0" height="88.0" fill="url(#hatch)"/> +<rect x="293.5" y="267.5" width="123.0" height="85.0" fill="none" stroke="#9aa6d9" stroke-width="3" stroke-dasharray="12 8"/> +<rect x="295.0" y="269.0" width="29.0" height="82.0" fill="#3a4a8a"/> +<rect x="324.0" y="269.0" width="31.0" height="82.0" fill="#ff6a4a"/> +<rect x="356.0" y="269.0" width="31.0" height="82.0" fill="#ff6a4a"/> +<rect x="386.0" y="288.0" width="32.0" height="44.0" fill="#0a1030"/> +<text x="391.5" y="322.6" font-family="Go Mono" font-size="35" fill="#eee6d2" xml:space="preserve">b</text> +<rect x="420.0" y="266.0" width="446.0" height="88.0" fill="#1f4a33"/> +<rect x="421.5" y="267.5" width="443.0" height="85.0" fill="none" stroke="#7fdc9a" stroke-width="3"/> +<rect x="423.0" y="269.0" width="29.0" height="82.0" fill="#3a4a8a"/> +<text x="648.5" y="322.6" font-family="Go Mono" font-size="35" fill="#eee6d2" xml:space="preserve">c</text> +<rect x="869.0" y="267.0" width="46.0" height="86.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="886.0" y="307.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<rect x="900.0" y="307.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<rect x="914.0" y="307.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<text x="92.0" y="252.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve">tcache</text> +<text x="916.0" y="252.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">unused</text> +<path d="M739,366 v16 m0,-8 H865 m0,-8 v16" fill="none" stroke="#6a7ab8" stroke-width="3" stroke-linejoin="round" stroke-linecap="butt"/> +<text x="724.0" y="382.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">32 bytes</text> +<text x="370.0" y="452.0" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve" text-anchor="middle">inside b</text> +<path d="M292,358 L178,472 M418,358 L560,472" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<rect x="178.0" y="478.0" width="382.0" height="46.0" fill="#16245f"/> +<text x="211.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="229.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="247.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="265.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="292.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="310.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="328.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="346.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="373.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="391.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="409.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="427.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="454.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="472.5" y="511.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="490.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">2</text> +<text x="508.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<text x="580.0 595.0 610.0 625.0" y="510.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">size</text> +<text x="654.0" y="509.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">of this chunk</text> +<rect x="178.0" y="538.0" width="382.0" height="46.0" fill="#ff6a4a"/> +<text x="211.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="229.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="247.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="265.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="292.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="310.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="328.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="346.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">5</text> +<text x="373.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">5</text> +<text x="391.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">d</text> +<text x="409.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">4</text> +<text x="427.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">a</text> +<text x="454.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">1</text> +<text x="472.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">c</text> +<text x="490.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="508.5" y="571.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">3</text> +<text x="580.0 595.0 610.0 625.0" y="570.0" font-family="Go Mono" font-size="25" fill="#eee6d2" xml:space="preserve">next</text> +<text x="654.0" y="569.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">free chunk: none</text> +<rect x="178.0" y="598.0" width="382.0" height="46.0" fill="#ff6a4a"/> +<text x="211.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">8</text> +<text x="229.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">f</text> +<text x="247.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">3</text> +<text x="265.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">a</text> +<text x="292.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">6</text> +<text x="310.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">1</text> +<text x="328.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">c</text> +<text x="346.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">2</text> +<text x="373.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">d</text> +<text x="391.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">0</text> +<text x="409.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">7</text> +<text x="427.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">b</text> +<text x="454.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">4</text> +<text x="472.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">e</text> +<text x="490.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">1</text> +<text x="508.5" y="631.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">9</text> +<text x="580.0 595.0 610.0" y="630.0" font-family="Go Mono" font-size="25" fill="#eee6d2" xml:space="preserve">key</text> +<text x="639.0" y="629.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">marks it freed</text> +<rect x="178.0" y="658.0" width="382.0" height="46.0" fill="#16245f"/> +<text x="211.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="229.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="247.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="265.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="292.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="310.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="328.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="346.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="373.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="391.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="409.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="427.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="454.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="472.5" y="691.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="490.5" y="691.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">2</text> +<text x="508.5" y="691.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">a</text> +<text x="580.0" y="689.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">your old data</text> +<text x="122.0 137.0 152.0 167.0" y="824.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">0x20</text> +<rect x="92.0" y="748.0" width="120.0" height="46.0" fill="#ff6a4a"/> +<text x="98.0 116.0 134.0 152.0 170.0 188.0" y="781.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">1 free</text> +<text x="258.0 273.0 288.0 303.0" y="824.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">0x30</text> +<rect x="228.0" y="748.0" width="120.0" height="46.0" fill="#16245f"/> +<text x="279.0" y="781.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="394.0 409.0 424.0 439.0" y="824.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">0x40</text> +<rect x="364.0" y="748.0" width="120.0" height="46.0" fill="#16245f"/> +<text x="415.0" y="781.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="530.0 545.0 560.0 575.0" y="824.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">0x50</text> +<rect x="500.0" y="748.0" width="120.0" height="46.0" fill="#16245f"/> +<text x="551.0" y="781.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="666.0 681.0 696.0 711.0" y="824.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">0x60</text> +<rect x="636.0" y="748.0" width="120.0" height="46.0" fill="#16245f"/> +<text x="687.0" y="781.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="802.0 817.0 832.0 847.0" y="824.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">0x70</text> +<rect x="772.0" y="748.0" width="120.0" height="46.0" fill="#16245f"/> +<text x="823.0" y="781.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<path d="M122.0,748.0 L122.0,573.0 Q122.0,561.0 134.0,561.0 L158.0,561.0" fill="none" stroke="#d59cf5" stroke-width="4" stroke-linejoin="round" stroke-linecap="butt"/> +<path d="M174.0,561.0 L156.0,569.0 L156.0,553.0 Z" fill="#d59cf5"/> +<text x="92.0" y="868.0" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">its notes: a list for each size, kept in the heap itself</text> +<rect x="976.0" y="120.0" width="880.0" height="48.0" fill="#16245f"/> +<rect x="977.0" y="121.0" width="878.0" height="766.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<line x1="976.0" y1="168.0" x2="1856.0" y2="168.0" stroke="#3a4a8a" stroke-width="2"/> +<rect x="991.0" y="135.0" width="18.0" height="18.0" fill="none" stroke="#6a7ab8" stroke-width="2"/> +<text x="1024.0" y="154.0" font-family="Go Medium" font-size="28" fill="#9aa6d9" xml:space="preserve">musl 1.2.5</text> +<text x="1840.0" y="152.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">mallocng</text> +<text x="1004.0" y="212.0" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">the heap: groups of equal slots</text> +<rect x="1004.0" y="238.0" width="62.0" height="56.0" fill="#3a4a8a"/> +<rect x="1068.0" y="238.0" width="446.0" height="56.0" fill="#1f4a33"/> +<rect x="1069.5" y="239.5" width="443.0" height="53.0" fill="none" stroke="#7fdc9a" stroke-width="3"/> +<text x="1280.5" y="278.6" font-family="Go Mono" font-size="35" fill="#eee6d2" xml:space="preserve">c</text> +<rect x="1517.0" y="239.0" width="310.0" height="54.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="1534.0" y="263.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<rect x="1548.0" y="263.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<rect x="1562.0" y="263.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<text x="1828.0" y="226.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">112-byte slots</text> +<rect x="1004.0" y="334.0" width="62.0" height="56.0" fill="#3a4a8a"/> +<rect x="1068.0" y="334.0" width="126.0" height="56.0" fill="#1f4a33"/> +<rect x="1069.5" y="335.5" width="123.0" height="53.0" fill="none" stroke="#7fdc9a" stroke-width="3"/> +<text x="1120.5" y="374.6" font-family="Go Mono" font-size="35" fill="#eee6d2" xml:space="preserve">a</text> +<rect x="1196.0" y="334.0" width="126.0" height="56.0" fill="url(#hatch)"/> +<rect x="1197.5" y="335.5" width="123.0" height="53.0" fill="none" stroke="#9aa6d9" stroke-width="3" stroke-dasharray="12 8"/> +<rect x="1199.0" y="337.0" width="14.0" height="50.0" fill="#ff6a4a"/> +<rect x="1243.0" y="340.0" width="32.0" height="44.0" fill="#0a1030"/> +<text x="1248.5" y="374.6" font-family="Go Mono" font-size="35" fill="#eee6d2" xml:space="preserve">b</text> +<rect x="1325.0" y="335.0" width="124.0" height="54.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="1453.0" y="335.0" width="124.0" height="54.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="1581.0" y="335.0" width="124.0" height="54.0" fill="none" stroke="#3a4a8a" stroke-width="2"/> +<rect x="1722.0" y="359.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<rect x="1736.0" y="359.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<rect x="1750.0" y="359.0" width="6.0" height="6.0" fill="#6a7ab8"/> +<text x="1828.0" y="322.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve" text-anchor="end">32-byte slots</text> +<text x="1282.0" y="452.0" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve" text-anchor="middle">inside b</text> +<path d="M1196,394 L1090,472 M1322,394 L1472,472" fill="none" stroke="#3a4a8a" stroke-width="2" stroke-linejoin="round" stroke-linecap="butt"/> +<rect x="1090.0" y="478.0" width="190.0" height="46.0" fill="#5a2218"/> +<rect x="1090.0" y="518.0" width="190.0" height="6.0" fill="#ff6a4a"/> +<text x="1108.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">f</text> +<text x="1126.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">f</text> +<text x="1144.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">0</text> +<text x="1162.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">0</text> +<text x="1189.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">0</text> +<text x="1207.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">0</text> +<text x="1225.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">0</text> +<text x="1243.5" y="511.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">0</text> +<text x="1300.0" y="509.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">its tag, cleared</text> +<rect x="1090.0" y="538.0" width="382.0" height="46.0" fill="#16245f"/> +<text x="1123.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1141.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1159.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1177.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1204.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1222.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1240.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1258.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1285.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1303.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1321.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1339.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1366.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1384.5" y="571.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1402.5" y="571.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">2</text> +<text x="1420.5" y="571.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">a</text> +<text x="1492.0" y="569.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">your old data,</text> +<rect x="1090.0" y="598.0" width="382.0" height="46.0" fill="#16245f"/> +<text x="1123.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1141.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1159.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1177.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1204.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1222.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1240.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1258.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1285.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1303.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1321.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1339.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1366.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1384.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1402.5" y="631.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1420.5" y="631.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">0</text> +<text x="1492.0" y="629.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">all of it untouched</text> +<text x="1180.0" y="719.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve" text-anchor="end">can hand out</text> +<rect x="1200.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1214.0" y="721.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1248.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1262.0" y="721.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1296.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1310.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<rect x="1344.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1358.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<rect x="1392.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1406.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<rect x="1440.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1454.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<rect x="1488.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1502.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<rect x="1536.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1550.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<rect x="1584.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1598.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<rect x="1632.0" y="688.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1646.0" y="721.8" font-family="Go Mono" font-size="30" fill="#eee6d2" xml:space="preserve">1</text> +<text x="1180.0" y="771.6" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve" text-anchor="end">freed</text> +<rect x="1200.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1214.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1248.0" y="740.0" width="46.0" height="46.0" fill="#ff6a4a"/> +<text x="1262.0" y="773.8" font-family="Go Mono" font-size="30" fill="#050a24" xml:space="preserve" font-weight="bold">1</text> +<rect x="1296.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1310.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1344.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1358.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1392.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1406.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1440.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1454.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1488.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1502.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1536.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1550.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1584.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1598.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<rect x="1632.0" y="740.0" width="46.0" height="46.0" fill="#16245f"/> +<text x="1646.0" y="773.8" font-family="Go Mono" font-size="30" fill="#6a7ab8" xml:space="preserve">0</text> +<text x="1215.5" y="824.0" font-family="Go Mono" font-size="25" fill="#9aa6d9" xml:space="preserve">a</text> +<text x="1263.5" y="824.0" font-family="Go Mono" font-size="25" fill="#eee6d2" xml:space="preserve">b</text> +<text x="1306.0" y="824.0" font-family="Go" font-size="22" fill="#6a7ab8" xml:space="preserve">one bit for each slot</text> +<text x="1004.0" y="868.0" font-family="Go" font-size="24" fill="#9aa6d9" xml:space="preserve">its notes: one record for each group, kept apart</text> +<text x="64.0" y="964.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">glibc threads its free list through the freed chunk itself.</tspan></text> +<text x="64.0" y="1018.0" font-size="40" xml:space="preserve"><tspan font-family="Go" font-weight="normal" fill="#eee6d2">musl flips one bit in a record it keeps apart from your data.</tspan></text> +</svg> |
