diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-09-14 12:25:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-14 12:25:24 +0200 |
commit | 6838ee6bb86e5ed7d9ac860731c9e24377c1e39d (patch) | |
tree | 46ed3647cb9370e39408568277ffa742c78e9857 /.gitignore | |
parent | d50f296d4f9432262c16d86cd64eb006b31c8a32 (diff) | |
download | spack-6838ee6bb86e5ed7d9ac860731c9e24377c1e39d.tar.gz spack-6838ee6bb86e5ed7d9ac860731c9e24377c1e39d.tar.bz2 spack-6838ee6bb86e5ed7d9ac860731c9e24377c1e39d.tar.xz spack-6838ee6bb86e5ed7d9ac860731c9e24377c1e39d.zip |
Add efficient `deptype` flag and `spack.deptypes` module (#39472)
This commit replaces the internal representation of deptypes with `int`, which is more compact
and faster to operate with.
Double loops like:
```
any(x in ys for x in xs)
```
are replaced by constant operations bool(xs & ys), where xs and ys are dependency types.
Global constants are exposed for convenience in `spack.deptypes`
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions