|
Boost : |
From: Andy Little (andy_at_[hidden])
Date: 2006-06-30 05:16:30
"Ivan Vecerina" wrote
> : FYI - we just posted a 55 minute Flash presentation regarding GIL. You
> : may find watching it more convenient than reading the tutorial.
> :
> : http://opensource.adobe.com/gil/documentation.html
>
> Great job and excellent presentation !
>
>
> Now there is one reason I probably won't be using GIL which
> I haven't seen mentioned:
>
> I develop an internal application. For validation purposes,
> my preference so far has been to release "debug" builds
> (i.e. with all runtime checks enabled and without aggressive
> compiler optimizations).
> In this scenario, abstraction penalty can be huge, because
> inlining is weak/inexistent.
>
> Writing a "C-style" version of the basic algorithms I need
> (e.g. erosions etc), there is only a minor difference
> between debug and optimized builds (e.g. often less than x 2).
> Using generic GIL code ... I suspect that the difference
> would be of an order of magnitude.
What is stopping you adding checks in an optimised version?
regards
Andy Little
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk