libcli/security: note suboptimality of conditional ACE Contains operators
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Fri, 24 Nov 2023 23:55:09 +0000 (12:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 27 Nov 2023 23:38:13 +0000 (23:38 +0000)
commita757a51a26f664591ab776db99bf48acfa698591
tree0f98d744b882e745db2032c507845b1bba62744b
parent2eb00c0bba5ed1abaa15c1511c6012da56a78604
libcli/security: note suboptimality of conditional ACE Contains operators

The Contains and Any_of operators could use a sorted comparison like
compare_composites_via_sort(), rather than O(n²) nested loops. But
that would involve amount of quite fiddly work that I am not starting
on now.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Nov 27 23:38:13 UTC 2023 on atb-devel-224
libcli/security/conditional_ace.c