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

Fix a few allocation/inference issues #885

Merged
merged 1 commit into from
Sep 8, 2021
Merged

Fix a few allocation/inference issues #885

merged 1 commit into from
Sep 8, 2021

Commits on Sep 8, 2021

  1. Fix a few allocation/inference issues

    This was from an effort to play around with precompilation some more.
    There's a tricky balance where if we precompile too much of `CSV.File`,
    then we run into the Base bug where there are Base methods missing and
    cause painful allocations via invoke
    (JuliaLang/julia#35972). The state of
    precompilation for CSV.jl is thus pretty disappointing: precompiling
    currently takes ~7.5s (which is fine, this is the number we're fine to
    have keep growing), loading CSV.jl precompiled takes ~2.5s (seems a
    little high, but not terrible), but the first call to `CSV.File` takes
    ~6.5s :sad_face:. At this point, I've spent too much time and don't
    understand the ins and outs of precompilation interactions with later
    runtime code to debug further, but hopefully we can recruit help from
    some experts to take CSV.jl precompilation to the next level. As-is,
    it's workable, so let's go with this for now and get this darn release
    out.
    quinnj committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    9b9b031 View commit details
    Browse the repository at this point in the history