[vtk-developers] About vtkParametricSpline Initialize() performance

Sean McBride sean at rogue-research.com
Tue Oct 1 10:19:54 EDT 2013


On Tue, 1 Oct 2013 10:45:31 +0200, Simon ESNEAULT said:

>We use a lot vtkParametricSpline here, with quite a lot of points, ~4000
>With that number of points, the method "Initialize()" takes around 0.7
>seconds (vtk 5.8, linux, intel Core i7 at 3.0 Ghz)
>
>After some hack, this time is reduced to : 0.001 seconds, (700x speed up
>!), for the exact same result

This would be much easier for others to review if you created a patch in gerrit:

<http://www.vtk.org/Wiki/VTK/Git/Develop>

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list