i18n: conditionally load SELinux/Smack locale strings based on feature flag#10076
i18n: conditionally load SELinux/Smack locale strings based on feature flag#10076ChrisDryden wants to merge 1 commit intouutils:mainfrom
Conversation
d406de3 to
d9700b8
Compare
|
Cannot we do it at |
CodSpeed Performance ReportMerging this PR will degrade performance by 3.55%Comparing Summary
Performance Changes
Footnotes
|
|
GNU testsuite comparison: |
|
@oech3 Can you elaborate on what you mean by that? |
|
|
|
Now that the SMACK changes are in I can also do this for the SMACK locale translations, I'll update this PR |
d9700b8 to
c358571
Compare
|
GNU testsuite comparison: |
|
Now that we have an approach of not loading the translation files until they are needed, we don't really need to take this approach anymore |
One of the issues with enabling the Smack support is that adding the locale for the SMACK errors adds a bunch of overhead even to the non-SELINUX or SMACK enabled utilities. The goal here is to reduce the overhead of adding new shared locale files by gating them behind the feature flag.