summaryrefslogtreecommitdiff
path: root/LICENSE-MIT
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-08-16 14:33:03 +0200
committerGitHub <noreply@github.com>2023-08-16 14:33:03 +0200
commit4f07205c6376aeac4fa8d2e24db205441174b78f (patch)
treedb487b46cd351f53afe705fccd343441e1c1993e /LICENSE-MIT
parent08f9c7670eb00ee5221be4a3cfc0a905c151fe85 (diff)
downloadspack-4f07205c6376aeac4fa8d2e24db205441174b78f.tar.gz
spack-4f07205c6376aeac4fa8d2e24db205441174b78f.tar.bz2
spack-4f07205c6376aeac4fa8d2e24db205441174b78f.tar.xz
spack-4f07205c6376aeac4fa8d2e24db205441174b78f.zip
Avoid sort on singleton list during edge insertion (#39458)
The median length of this list of 1. For reasons I don't know, `.sort()` still like to call the key function. This saves ~9% of total database read time, and the number of calls goes from 5305 -> 1715.
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions