>>>> "TH" == Tom Hughes <tom(a)compton.nu>
writes:
TH> Presumably in this case the performance penalty was considered small
TH> enough that it was worth building even production code with this
TH> mode enabled.
I'd like to know if any performance analysis was done about this,
because the upstream of a package I help maintain (prusa-slicer) has
also indicated to me that they aren't in favor of compiling with
GLIBCXX_ASSERTIONS in code which is computationally expensive and not
security sensitive. (This after the assertion found an actual bug in
their code.) The only answer I could give was that any code
which can open downloaded files is "security sensitive" in some fashion,
and presumably the gcc/glibc developers have evaluated the performance
impact.
Is there any reference I could use to answer such questions?
- J<