Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are the performance implications of -AA versus -AP? What is the characteristic of an application that can cause performance degradation?

0
Posted

What are the performance implications of -AA versus -AP? What is the characteristic of an application that can cause performance degradation?

0

Standard iostreams that will be used with -AA are quite slow compared to classic iostreams (with -AP). Standard iostream is slower to compile. Performance depends on the application and exactly what is being read/written. Some issues (like append access over NFS) have been fixed. Performance also depends on how much time is spent doing C++ I/O versus other work. One important point is that the application must be optimized since the templatized code is now in the application. Other factors that can significantly affect performance are threading and using locales.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123