else
count = count2;
+ /* Loop unrolled for performance */
while (count > 3) {
chdiff = (int)maptolower[label1[0]] -
(int)maptolower[label2[0]];
label2 += 4;
}
while (count-- > 0) {
- chdiff = (int)maptolower[*label1++] - (int)maptolower[*label2++];
+ chdiff = (int)maptolower[*label1++] -
+ (int)maptolower[*label2++];
if (chdiff != 0) {
*orderp = chdiff;
goto done;
INSIST(count <= 63); /* no bitstring support */
+ /* Loop unrolled for performance */
while (count > 3) {
c = maptolower[label1[0]];
if (c != maptolower[label2[0]])
#ifdef DNS_RBT_USEHASH
-/* Upper node is the parent of the root of the passed node's
+/*
+ * Upper node is the parent of the root of the passed node's
* subtree. The passed node must not be NULL.
*/
static inline dns_rbtnode_t *
* isc_hash_function() calculates the hash from start to end over the
* input data. isc_hash_function_reverse() calculates the hash from the
* end to the start over the input data. The difference in order is
- * useful in incremental hashing.
+ * useful in incremental hashing; for example, a previously hashed
+ * value for 'com' can be used as input when hashing 'example.com'.
*
* This is a new variant of isc_hash_calc() and will supercede
* isc_hash_calc() eventually.