Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Mesh_3 compiling time

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Mesh_3 compiling time


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Mesh_3 compiling time
  • Date: Mon, 13 Oct 2014 11:36:31 +0200
  • Organization: GeometryFactory

Le Monday 13 October 2014 01:11:07 liguojun_1990 a écrit :
> It takes 12 minutes to compile mesh_polyhedral_domain_with_features.cpp. How
> to reduce compiling time?

That is a known issue. The difficulty is that the code of the Mesh_3 package
instantiates a lot of classes template and function templates. If it takes so
much time to compile one compilation unit, it might be that the compilation
was using more memory than the free memory on your system.

One idea though: compiling with debugging symbols consumes quite a lot of
memory. If the issue is due to low memory, maybe the compilation time can be
improved in Release, compared to Debug.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page