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

Periodic_3_mesh_3: Avoid Making Copies #8639

Merged
merged 10 commits into from
Dec 10, 2024
Merged

Conversation

afabri
Copy link
Member

@afabri afabri commented Dec 3, 2024

Summary of Changes

Turn several copies into const& to avoid allocation of data members of traits object with multiprecision coordinates. In release mode the gain is around 10%..

To address the timeouts in the testsuite in Debug mode, I also changed cell size and approximation error.

Release Management

  • Affected package(s): Periodic_triangulation_3_mesh_3
  • License and copyright ownership: unchanged

Co-authored-by: Mael <mael.rouxel.labbe@geometryfactory.com>
@sloriot
Copy link
Member

sloriot commented Dec 10, 2024

Only 1 timeout in CGAL-6.1-Ic-37 vs 13 in CGAL-6.1-I-36

Successfully tested

@sloriot sloriot added Tested rm only: ready for master For the release team only: that indicates that a PR is about to be merged in 'master' and removed Under Testing Ready to be tested labels Dec 10, 2024
@afabri
Copy link
Member Author

afabri commented Dec 10, 2024

Note that this a timeout when in Release mode with CGAL_NDEBUG. Should it be investigated?

@sloriot
Copy link
Member

sloriot commented Dec 10, 2024

Note that this a timeout when in Release mode with CGAL_NDEBUG. Should it be investigated?

I would not bother, Fedora-Release has the timeout and not Fedora-rawide-Release while both have similar compilers and flags, but running on different computers.

@sloriot sloriot merged commit 166681a into CGAL:master Dec 10, 2024
9 checks passed
@sloriot sloriot deleted the P3M3-timeout-GF branch December 10, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pkg::Periodic_3_mesh_3 rm only: ready for master For the release team only: that indicates that a PR is about to be merged in 'master' Speed Tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants