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
Performance optimization: Cache attribute_names Set
- Add attribute_names_set class method with memoization
- Use cached Set in assign_attributes instead of converting on each call
- Eliminates O(m) Set conversion overhead, where m = number of attributes
- Maintains O(1) lookup performance for unknown attribute detection
- All 14 tests pass
0 commit comments