Skip to content
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

DeleteAttributes : Optimise case where all attribute are deleted #6229

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnhaddon
Copy link
Member

In this case we don't need to evaluate the input attributes at all. Avoiding this knocks around 15% off the runtime when deleting all attributes from the ALab scene.

The AttributeProcessor base class we were using made this impossible, because it always fetched the input attributes for us. We now derive from FilteredSceneProcessor instead, in the same way that DeleteObject derives from that rather than ObjectProcessor.

In this case we don't need to evaluate the input attributes at all. Avoiding this knocks around 15% off the runtime when deleting all attributes from the ALab scene.

The AttributeProcessor base class we were using made this impossible, because it always fetched the input attributes for us. We now derive from FilteredSceneProcessor instead, in the same way that DeleteObject derives from that rather than ObjectProcessor.
@johnhaddon johnhaddon requested a review from ericmehl January 23, 2025 16:34
@johnhaddon johnhaddon self-assigned this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending Review
Development

Successfully merging this pull request may close these issues.

1 participant