Skip to content

Loading CSV makes tab completion in the REPL extremely slow #34098

Closed
@KristofferC

Description

@KristofferC

Doing using CSV and then foo("<TAB in the REPL makes the REPL lag for ~10 seconds. Running with --trace-compile and timing the different precompile statement there is one that takes 10(!) seconds to run. MWE is:

julia> using CSV; using REPL; @time precompile(Tuple{typeof(REPL.REPLCompletions.completions), String, Int64})
 10.879856 seconds (25.56 M allocations: 1.508 GiB, 3.41% gc time)

Entering the Pkg REPL also takes like 20 seconds after using CSV.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions