-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add caching system for CRUD methods #337
Add caching system for CRUD methods #337
Conversation
Useful mainly for testing.
Bug was added in DependencyTypes refactor
Also includes a tweak to read of materials to aim to make it fit with new system. ID for materials for GSA10 now includes material type, as that is required to differentiate between different material types
Co-authored-by: Alessio Lombardi <[email protected]>
@IsakNaslundBh to confirm, the following actions are now queued:
|
Discussing with @alelom that this should be the default for most if not all cases, with opt out being the exception case where Toolkits have to set this parameter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy with the functionality. Code now looks good to me. Tested on Robot/GSA toolkits via the related PRs and the create-read test script for structural adapters.
@alelom to confirm, the following actions are now queued:
|
@BHoMBot check required |
@IsakNaslundBh to confirm, the following actions are now queued:
|
The check |
The check |
The check |
The check |
@BHoMBot check ready-to-merge |
@IsakNaslundBh to confirm, the following actions are now queued:
|
Also includes a tweak to read of materials to aim to make it fit with new system. ID for materials for GSA10 now includes material type, as that is required to differentiate between different material types
Also includes a tweak to read of materials to aim to make it fit with new system. ID for materials for GSA10 now includes material type, as that is required to differentiate between different material types
Issues addressed by this PR
Closes #336
Add caching system in the base adapter, reducing the times the same objects are read more than once from the model.
Can for some cases significantly speed up both push and pulls from the adapter, depending o the case being run.
For full effect, the concrete adapters need to be updated to make use of this new system.
Test files
Changelog
Additional comments