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
{{ message }}
Repository navigation
Commit 3ea4c05
Browse filesBrowse the repository at this point in the historyBrowse files
aleksandr.tseluyko
committed
Cache structs.fields() result for non-generic structs
Store the computed tuple of FieldInfo on the class as
__struct_field_info__ to avoid expensive get_class_annotations()
and FieldInfo recreation on every call. Generic aliases are not
cached since type parameters affect annotations.
Closes#963
0 commit comments