Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BinaryPlatforms: prevent creating an identical regex every time a `Pl…
…atform` 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.)
- Loading branch information