spack/lib/spack
Harmen Stoppels a39a6c4ea7
version.py: set is_commit in constructor (#29369)
Speeds up comparison on `Version` by ~2.5x, e.g.

```python
In [1]: v = spack.version.Version('1.0.0'); w = spack.version.Version('1.0.2')

In [2]: %timeit v < w

1.47 µs ± 5.59 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

535 ns ± 1.75 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
```
2022-03-08 10:50:48 +01:00
..
docs extensions: allow multiple "extends" directives (#28853) 2022-02-16 21:23:12 +00:00
env rocmcc compiler: initial commit based on aocc and clang (#28575) 2022-03-03 14:34:22 -07:00
external move typing_extensions.py back into typing.py =\ (#28549) 2022-02-11 09:52:01 -08:00
llnl make @llnl.util.lang.memoized support kwargs (#21722) 2022-03-02 11:12:15 -08:00
spack version.py: set is_commit in constructor (#29369) 2022-03-08 10:50:48 +01:00