[Insight-developers] Explicit instantiation
Bill Lorensen
bill.lorensen at gmail.com
Tue Aug 24 15:13:00 EDT 2010
Folks,
There is quite a lengthy description and analysis of Explicit
Instantiation from 2006
http://vtk.org/Wiki/Proposals:Explicit_Instantiation
At that time, I did an analysis of the binary tree with and without explicit:
http://vtk.org/Wiki/Proposals:Explicit_Instantiation#Some_Results_for_Visual_Studio_2003
If I recall, my argument at the time was a tradeoff between space/time
and simplicity. I argued for simplicity (against explicit
instantiation). Times and compilers are different now. Maybe my
argument for simplicity is no longer valid?
Bill
On Tue, Aug 24, 2010 at 2:50 PM, Hans Johnson <hans-johnson at uiowa.edu> wrote:
> N=1 test for explicit instantiation: 14.3% speed improvement in
> compilations
>
> Mitigating factors:
> *** Only 1 part of the ITK has explicit instantiation (Common), and that
> part of the tool kit has code that is for the most part straight forward for
> compiliation/optimization (i.e. Very few algorithmic items that tax the
> compilers optimizers).
> *** No simpleITK or wrapping options turned on.
>
> Hans
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
More information about the Insight-developers
mailing list