Skip to content

Revise should precompile more methods #900

@PatrickHaecker

Description

@PatrickHaecker

With

if isinteractive()
    using Revise
end

in ~/.julia/config/startup.jl and Julia 1.11.4 I get

> julia --trace-compile=stderr -ie "exit()"
precompile(Tuple{typeof(Revise.iswritable), String})
precompile(Tuple{typeof(Base.first), Array{Any, 1}})
precompile(Tuple{typeof(Base.iszero), Float64})
precompile(Tuple{Revise.var"#118#119"})
precompile(Tuple{typeof(Revise.active_repl_backend_available)})
precompile(Tuple{typeof(FileWatching.uvfinalize), FileWatching.FileMonitor})

while without using Revise there is no precompile done in the above test case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions