You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, hasproperty(o, attr) works by falling back to Julia's default method, which checks attr in propertynames(o). This is functional but rather inefficient because it first constructs the propertynames list.
Since you already have an optimized pyhasattr method, it seems like you should just define:
Currently,
hasproperty(o, attr)
works by falling back to Julia's default method, which checksattr in propertynames(o)
. This is functional but rather inefficient because it first constructs thepropertynames
list.Since you already have an optimized
pyhasattr
method, it seems like you should just define:The text was updated successfully, but these errors were encountered: