mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 10:04:33 -06:00
Adds an example to the dispenso library entry so it is reachable from the Libraries UI rather than only via a link. The example compares the default `kStatic` chunking against `kAdaptive` on a workload whose per-element cost grows 64x across the range, with a serial baseline for reference: https://godbolt.org/z/W116zME61 It prints a note that the timings should be disregarded on Compiler Explorer. The sandbox has very few cores, so any of the three can come out ahead on a given run; the example is there to read and run, not to measure. Verified it builds clean under `-Wall -Wextra` and runs correctly against dispenso 1.6.2.