Subject: CGAL users discussion list
List archive
- From: Rostislav Khlebnikov <>
- To: <>
- Subject: Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata
- Date: Sat, 9 Aug 2014 16:59:55 +0100
Hello again, I am just quite curious that the first call to the all_intersections is very very slow compared to the rest. For example for mesh with about 500k triangles, the first call takes about 10 seconds, while the all the following ones with the same cutting query take about 3 milliseconds, giving the difference of 3000 times! Is there some lazy processing going on that are triggered by the first call? Is this normal anyway? Additionally, by adding the cached converted triangle as a member of Triangles_const_iterator, setting the reference template parameter to default and returning K::Triangle_3 const& from derefence() will speed up the first 10 times (down to 1 second) and also speed up the subsequent calls to about 2 milliseconds. It is clear why this happens, but I just wanted to mention it. So, if you could answer the questions in the first paragraph - that would be absolutely great! Thank you, Rostislav. On 08/08/2014 00:30, Rostislav
Khlebnikov wrote:
Hello Sebastien, |
- [cgal-discuss] AABB tree with custom iterator for VTK polydata, Rostislav Khlebnikov, 08/07/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Sebastien Loriot (GeometryFactory), 08/08/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Rostislav Khlebnikov, 08/08/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Rostislav Khlebnikov, 08/09/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Sebastien Loriot (GeometryFactory), 08/10/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Rostislav Khlebnikov, 08/10/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Sebastien Loriot (GeometryFactory), 08/10/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Rostislav Khlebnikov, 08/09/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Rostislav Khlebnikov, 08/08/2014
- Re: [cgal-discuss] AABB tree with custom iterator for VTK polydata, Sebastien Loriot (GeometryFactory), 08/08/2014
Archive powered by MHonArc 2.6.18.