-
Notifications
You must be signed in to change notification settings - Fork 4
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
PropertyDicts' Base.convert causes a bunch of invalidations #5
Comments
The one on line 21 should be deleted because it is redundant with the fallback. If possible, the best answer is to |
I'm not sure what that
ubuntu@eleni-ubuntu-ec2:~/JuliaTeamJH$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.7.2 (2022-02-06)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> using SnoopCompileCore
julia> invalidations = @snoopr using PropertyDicts
julia> using SnoopCompile; length(uinvalidated(invalidations))
1347 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to SnoopCompile, these lines https://github.com/JuliaCollections/PropertyDicts.jl/blob/master/src/PropertyDicts.jl#L21-L24 - (specfically
convert(::Type{T}, d::PropertyDicts.PropertyDict) where T
) cause ~400 invalidations (mt_backedges
). Mainly methods that look likeconvert(SpecificType, Any)
The backedges are
Edit: This seems to be a known "issue" invenia/Intervals.jl#144
The text was updated successfully, but these errors were encountered: