julia
0f7b598a - BinaryPlatforms: prevent creating an identical regex every time a `Platform` is parsed (#52829)

Commit
2 years ago
BinaryPlatforms: prevent creating an identical regex every time a `Platform` is parsed (#52829) Pkg likes to call `HostPlatform()` a bit too often for its own good which shows up in some profiles. This makes `HostPlatform()` go from 250 us to 150 us with a quite trivial code change so should be fairly uncontroversial. (Pkg should probably also be fixed, alt. `HostPlatform` should be cached in Base.)
Author
Parents
Loading