You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/05/22 01:37:44 UTC

svn commit: r1341271 - /subversion/trunk/subversion/libsvn_subr/hash.c

Author: stefan2
Date: Mon May 21 23:37:43 2012
New Revision: 1341271

URL: http://svn.apache.org/viewvc?rev=1341271&view=rev
Log:
Docstring improvement. No functional change.

* subversion/libsvn_subr/hash.c
  (hashfunc_compatible): document APR version that we mimic

Modified:
    subversion/trunk/subversion/libsvn_subr/hash.c

Modified: subversion/trunk/subversion/libsvn_subr/hash.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/hash.c?rev=1341271&r1=1341270&r2=1341271&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/hash.c (original)
+++ subversion/trunk/subversion/libsvn_subr/hash.c Mon May 21 23:37:43 2012
@@ -565,11 +565,11 @@ svn_hash__get_bool(apr_hash_t *hash, con
 
 /*** Optimized hash function ***/
 
-/* Optimized version of apr_hashfunc_default. It assumes that the CPU has
- * 32-bit multiplications with high throughput of at least 1 operation
- * every 3 cycles. Latency is not an issue. Another optimization is a
- * mildly unrolled main loop and breaking the dependency chain within the
- * loop.
+/* Optimized version of apr_hashfunc_default in APR 1.4.5 and earlier.
+ * It assumes that the CPU has 32-bit multiplications with high throughput
+ * of at least 1 operation every 3 cycles. Latency is not an issue. Another
+ * optimization is a mildly unrolled main loop and breaking the dependency
+ * chain within the loop.
  *
  * Note that most CPUs including Intel Atom, VIA Nano, ARM feature the
  * assumed pipelined multiplication circuitry. They can do one MUL every