Closed jmalkin closed 8 months ago
Keeps a temporary sample of size 1 on-hand for updates/merges to avoid a new std::vector allocation of size 1 each time. Local manual testing shows a fairly small but consistent benefit (0.1-0.3s out of an 8.4s run)
Keeps a temporary sample of size 1 on-hand for updates/merges to avoid a new std::vector allocation of size 1 each time. Local manual testing shows a fairly small but consistent benefit (0.1-0.3s out of an 8.4s run)