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

Avoid memory allocation in CellIDTranslator #15857

Merged
merged 1 commit into from Aug 8, 2023

Conversation

kronbichler
Copy link
Member

There is no need to allocate a new vector just to get some computation running that can be done in the same loop. Merge these loops and thus avoid the allocation.

@kronbichler
Copy link
Member Author

Related to #14968.

@peterrum peterrum merged commit 0bdac18 into dealii:master Aug 8, 2023
15 checks passed
@kronbichler kronbichler deleted the improve_cell_id_translator branch August 10, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants