This series contains two small changes (these don't seem to affect performance measurably, but are nonetheless logical) and a patch that changes how the policy optimization "type_map" helper structure is represented, which speeds up the whole process. Ondrej Mosnacek (3): libsepol: skip unnecessary check in build_type_map() libsepol: optimize inner loop in build_type_map() libsepol: speed up policy optimization libsepol/src/optimize.c | 119 +++++++++++++++++++++++++++++++--------- 1 file changed, 94 insertions(+), 25 deletions(-) -- 2.24.1