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
using getting slower #222
Comments
Thanks, it's great to see you like this ! This is explained by the added I'm not sure we can improve things here, since the increased loading time is due to an external dependency:
|
This is indeed inconvenient and unpleasant from the users' perspective. From juliahub.com, StaticArrays is used by 2072 packages, which is more than 1/3 of the packages in the General registry. At best we can hope we've already loaded julia> @time using StaticArrays
0.576627 seconds (2.21 M allocations: 172.026 MiB, 0.30% compilation time)
julia> @time using UnicodePlots
0.242409 seconds (482.87 k allocations: 31.661 MiB, 0.79% compilation time) There is a long recent thread in discourse about StaticArrays "When should a package move to the standard library or system image? StaticArrays, what is it?". Until StaticArrays itself get improved or replaced, I don't think we have many choices here. |
How is StaticArrays used? It's not immediately obvious from searching the code. But since the above messages, there is now a StaticArraysCore package which is much lighter. |
It is used to project 3d coordinates onto a 2d canvas (mostly We use |
Hi, I really like the latest 3D additions. UnicodePlots has been getting slower over time while the new 3D stuff seems not to blame.
Last version to be fast;
At least this make later: https://github.com/JuliaPlots/UnicodePlots.jl/pull/217/files
Do you know what might explain?
The text was updated successfully, but these errors were encountered: