-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance: add cached_property for common schema field accesses
Fields like 'auth' can be accessed more than 800 times per request. Replacing this with a cached property speeds up access a lot. Also note that most fields don't have an auth, which caused a call to __missing__() for every field too.
- Loading branch information
Showing
1 changed file
with
14 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters