Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?
Chronological Thread
- From: "Benjamin schwarz" <>
- To:
- Subject: Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?
- Date: Fri, 21 Nov 2008 11:16:26 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=tQvzh8mn2IcF1oM/dytlx8LF8MSf2hbbdga1bM4HNfCmcShma5J3JYxouZJBWXQy7w tWTYuHvoAcpG9KVLqxx7RMarIypXc49YF/XdVCydhzp4VoUAUSJERnlTTSvFYDMjfSF6 Zviv0VYOqVztFraKzqwxi/BdKkyQSWwR/IxdA=
Well... I can't explain why, but I just changed the order of my
includes... "et voilà " (What is the english for "c'est tombé en
marche" ?), now it runs a lot faster and in accordance with the
expected times.
Still, is it possible to choose the subdivision scheme ?
I don't know if the dependance on includes order is a normal behavior,
if not, here is a hint to solve the problem :
My actual includes
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Skin_surface_3.h>
#include <CGAL/Polyhedron_incremental_builder_3.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/mesh_skin_surface_3.h>
#include <CGAL/subdivide_skin_surface_mesh_3.h>
#include <CGAL/IO/Geomview_stream.h>
#include <CGAL/IO/Polyhedron_geomview_ostream.h>
#include <CGAL/Timer.h>
#include <list>
#include <iostream>
#include <fstream>
my former includes :
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Polyhedron_incremental_builder_3.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/IO/Geomview_stream.h>
#include <CGAL/IO/Polyhedron_geomview_ostream.h>
#include "skin_surface_writer.h"
#include <CGAL/Skin_surface_3.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/mesh_skin_surface_3.h>
#include <CGAL/subdivide_skin_surface_mesh_3.h>
#include <CGAL/Timer.h>
#include <list>
#include <iostream>
#include <fstream>
> -DNDEBUG is important for performances.
I already had a bad experience with that a long time ago ;)
> Try -O3 instead of -O2.
Ok, I'll try that
> That one is correct too. -O2 is useless here.
right.
Thanks Laurent
- [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Benjamin schwarz, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Sylvain Pion, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Benjamin schwarz, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Nico Kruithof, 11/23/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Benjamin schwarz, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Laurent Rineau, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Benjamin schwarz, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Sylvain Pion, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Nico Kruithof, 11/23/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Nico Kruithof, 11/23/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Benjamin schwarz, 11/23/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Nico Kruithof, 11/23/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Benjamin schwarz, 11/23/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Sylvain Pion, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Benjamin schwarz, 11/21/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is this normal ?, Nico Kruithof, 11/30/2008
- Re: [cgal-discuss] skin surfaces : subdivision is *very* slow, is, Sylvain Pion, 11/21/2008
Archive powered by MHonArc 2.6.16.