remove deprecations and CategoricalArrays.jl dependency#2554
remove deprecations and CategoricalArrays.jl dependency#2554bkamins merged 10 commits intoJuliaData:masterfrom
Conversation
|
It seems that removing CategoricalArrays.jl dependency does not have much impact on compilation times now: MasterThis PR:except for package loading time (which was expected to decrease). @timholy - where would you expect the biggest gains. Thank you! CC @nalimilan |
|
First, CategoricalArrays no longer invalidates much stuff, so there may be no urgency in getting rid of it. Version 0.9 only invalidates 212 methods, and most of these are probably inconsequential. Second, when you do invalidate stuff, it's often the things that build on you, not you yourself, that are the big winners. For example, I bet that if Gadfly added a precompile file (using the tricks in SnoopCompile) they'd now have vastly more success. |
|
Thank you for the explanation.
As you have commented on Slack - we have already removed the dependency in 0.22 release. Here we only remove the actual Still - even if CategoricalArrays.jl is much more compiler friendly now (which I agree it is) it is better anyway to have no dependence between the packages and make them interoperate via DataAPI.jl interface. |
Co-authored-by: Milan Bouchet-Valat <[email protected]>
|
@nalimilan - this should be good for a review |
|
updated after the review |
|
@nalimilan - I have just checked that we have a significant regression on Julia nightly (the timings are the for the same operations as ones above): |
|
Wow, with 99% spent in compilation time, that's a serious regression in Julia. Can you file a bug there? |
|
Thank you! |
|
Is there a reason |
|
This must have been a mistake when rebasing PR. It should be only test dependency. I will fix it. |
|
see #2646 (as I am not 100% certain about Project.toml semantics) |
No description provided.