Skip to content
Snippets Groups Projects
Commit 1092fcfe authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

remark for future (questionable) optimization

parent 0842db2a
Branches
Tags
No related merge requests found
......@@ -139,6 +139,9 @@ dnValidate(
* (use memcmp, which implies alphabetical order in case of IA5 value;
* this should guarantee the repeatability of the operation).
*
* Note: the sorting can be slightly improved by sorting first
* by attribute type length, then by alphabetical order.
*
* uses a linear search; should be fine since the number of AVAs in
* a RDN should be limited.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment