commit | b61eaf795fc20f3ddb2c18570b212da8794d08fe | [log] [tgz] |
---|---|---|
author | Benjamin Schubert <ben.c.schubert@gmail.com> | Mon Aug 19 20:48:29 2019 +0100 |
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | Mon Aug 19 20:50:11 2019 +0100 |
tree | a4e55f2d7be58d5d2fec4cb55963d970c2aec738 | |
parent | e92781bdb7e76b91195fef84039fe7ff51cd02bf [diff] |
_loader: Optimize loading by keeping the dependencies sorted A sizeable amount of time is spent in sorting the dependencies when loading elements. We can instead keep the list sorted at all time, which reduces the number of time we need to call sort.