Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifacts: Improve type-stability #55707

Merged
merged 2 commits into from
Sep 7, 2024

Commits on Sep 6, 2024

  1. TOML: Improve type-stability

    This changes the output of the TOML parser to provide specialize
    `Vector{T}` less aggressively, so that combinatorially expensive types
    like `Vector{Vector{Float64}}` or `Vector{Union{Float64,Int64}}` are
    instead returned as `Vector{Any}`
    
    Vectors of homogeneous leaf types, like `Vector{Float64}` are still
    supported as before.
    
    This change makes the TOML parser fully type-stable, except for its
    dynamic usage of Dates.
    
    Co-authored-by: Gabriel Baraldi <[email protected]>
    topolarity and gbaraldi committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    561633b View commit details
    Browse the repository at this point in the history
  2. Artifacts: Improve type-stability

    This improves Artifacts.jl to make `_artifact_str` full type-stable,
    which allows `artifact"..."` to be used with `juliac`.
    
    This is a requirement for JLL support w/ trimmed executables.
    
    Dependent on JuliaLang#55016
    topolarity committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    8bdc150 View commit details
    Browse the repository at this point in the history