[apparmor] [Patch 0/9] Cleanup make file and intro C++11

John Johansen john.johansen at canonical.com
Tue Sep 15 03:11:12 UTC 2015


This set of Makefile cleanups and changes are lifted from the parser
performance series I have been slowly working on. It fixes a few
dependencies that have bitten me lately, and while I am at it introduces
a poc of using C++11 unordered containers when available as they can
improve performance when container is heavily used.

Note: for the C++11 unorder containers it doesn't just test for the
__cplusplus version because gcc (and some other compilers) have taken
to lying about what version is supported and provides no way to
indicate if partial features are supported. So attempting to compile
a minimum program that uses the desired feature is the best way
to ensure it is available.





More information about the AppArmor mailing list