On segunda-feira, 6 de fevereiro de 2017 10:33:52 PST Edward Welbourne wrote:
> Thiago Macieira (3 February 2017 17:45)
> 
> > It's irrelevant when the function called is one of ours, in a library
> > of ours that got compiled with -fno-exceptions. It'll never
> > throw. Even the few libraries we compile with exceptions will never
> > throw. *Especially* the functions that would not allocate memory
> > anyway, just increase a refcount.
> 
> If the unused code gets loaded into memory, then it's not entirely
> irrelevant; it is costing run-time memory and making caches miss
> more often.  Smaller code runs faster.

Yes, but it's very hard to measure. I do agree in shrinking our code however 
much we can (which is why I'd like to suppress the unwind tables completely).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to