Open dmv1167 opened 2 months ago
You may need to merge 0.3.0
into this branch as well
That looked awfully messy but this PR should include 0.3.0
changes.
I made the caches into dictionaries to allow for instant lookups when using any getById()
method. In the case of System
, caches are automatically populated the first time the API is called, and still must be repopulated manually using refresh()
.
I have separated the caching mechanism I came up with into this branch. I understand if this isn't what you had in mind as the caches are stored with each object, and I'm willing to try to implement time based refreshing in some manner in the future.