Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] performance of Delaunay Triangulation of random
- Date: Sat, 20 Dec 2008 17:58:55 +0100
- Organization: INRIA
Hi Ben,
Ben Supnik wrote:
[...]
So...perhaps experiment with different ordering of the points and time the results?
The order of insertion is indeed important.
Fortunately, the insert() function taking an iterator range takes
care of this automagically (using a BRIO, aka random shuffle and
spatial sorting). So, it's not the problem here.
The other issue would be (and this is not as much a factor with DT as other parts of CGAL) to check your optimizer and #define settings carefully...you'll want to make sure that all condition checking is compiled out and that the optimizer is inlining...from what I can tell GCC on OS X won't inline if the optimizer is off, which makes virtually any template code under-perform.
This is most probably the problem here:
I get 4.11s on my Mac with -O2 -DNDEBUG, and 42.31s otherwise.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- [cgal-discuss] performance of Delaunay Triangulation of random 3D points, Ding, 12/20/2008
- Re: [cgal-discuss] performance of Delaunay Triangulation of random, Sylvain Pion, 12/20/2008
- [cgal-discuss] about using qt3 to dislay a triangulation generated, Kwok Jasper, 12/20/2008
- Re: [cgal-discuss] about using qt3 to dislay a triangulation generated, Laurent Rineau (GeometryFactory), 12/20/2008
- RE: [cgal-discuss] about using qt3 to dislay a triangulation, Kwok Jasper, 12/21/2008
- Re: [cgal-discuss] about using qt3 to dislay a triangulation, Andreas Fabri, 12/21/2008
- RE: [cgal-discuss] about using qt3 to dislay a triangulation, Kwok Jasper, 12/21/2008
- Re: [cgal-discuss] about using qt3 to dislay a triangulation generated, Laurent Rineau (GeometryFactory), 12/20/2008
- [cgal-discuss] about using qt3 to dislay a triangulation generated, Kwok Jasper, 12/20/2008
- Re: [cgal-discuss] performance of Delaunay Triangulation of random, Ben Supnik, 12/20/2008
- Re: [cgal-discuss] performance of Delaunay Triangulation of random, Sylvain Pion, 12/20/2008
- Re: [cgal-discuss] performance of Delaunay Triangulation of random, Ding, 12/20/2008
- Re: [cgal-discuss] performance of Delaunay Triangulation of random, Sylvain Pion, 12/20/2008
- Re: [cgal-discuss] performance of Delaunay Triangulation of random, Sylvain Pion, 12/20/2008
Archive powered by MHonArc 2.6.16.