Skip to content

PMP Corefinement: Replace containers to make it faster#5592

Merged
sloriot merged 3 commits intoCGAL:masterfrom
afabri:PMP_accelerate_corefine-GF
Aug 30, 2021
Merged

PMP Corefinement: Replace containers to make it faster#5592
sloriot merged 3 commits intoCGAL:masterfrom
afabri:PMP_accelerate_corefine-GF

Conversation

@afabri
Copy link
Member

@afabri afabri commented Apr 8, 2021

Summary of Changes

Running vtune for corefinement of meshes with coplanar faces showed that we can improve by replacing by a hash map.
Astonishingly it degraded performance when also doing it for another container here

Release Management

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

@afabri afabri requested a review from sloriot April 8, 2021 10:45
@afabri afabri added the Pkg::PMP label Apr 8, 2021
@afabri afabri added this to the 5.3-beta milestone Apr 8, 2021
@MaelRL MaelRL added the Speed label Apr 8, 2021
@sloriot sloriot changed the title PMP Corefinement: Replace containters to make it faster PMP Corefinement: Replace containers to make it faster Apr 8, 2021
@afabri afabri marked this pull request as draft April 8, 2021 13:48
@lrineau
Copy link
Member

lrineau commented Apr 8, 2021

Compilation error: https://github.com/CGAL/cgal/pull/5592/checks?check_run_id=2296005481#step:4:670

That seems a serious cons against the unordered_map: it seems part of the code uses the ordering.

@sloriot sloriot modified the milestones: 5.3-beta, 5.4-beta Apr 14, 2021
@MaelRL MaelRL marked this pull request as ready for review May 14, 2021 09:48
@sloriot
Copy link
Member

sloriot commented Aug 30, 2021

Successfully tested in CGAL-5.4-Ic-38

@sloriot sloriot merged commit 3a00b6f into CGAL:master Aug 30, 2021
@sloriot sloriot deleted the PMP_accelerate_corefine-GF branch August 30, 2021 08:42
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.

4 participants