aboutsummaryrefslogtreecommitdiffstats
path: root/src/algorithms
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-10 20:16:33 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-10 20:16:33 +0100
commit2e65d218200e4a9a82897bbab4283a8c941208c7 (patch)
treeec20d46f472d62dd3ea6fcac0bf9682654d54fdf /src/algorithms
parentfix bit pattern (diff)
downloadalgorithms-and-data-structures-2e65d218200e4a9a82897bbab4283a8c941208c7.tar.gz
algorithms-and-data-structures-2e65d218200e4a9a82897bbab4283a8c941208c7.tar.bz2
algorithms-and-data-structures-2e65d218200e4a9a82897bbab4283a8c941208c7.tar.xz
note on performance
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/algorithms')
-rw-r--r--src/algorithms/bits/Bits.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/algorithms/bits/Bits.java b/src/algorithms/bits/Bits.java
index 5172254..d760afe 100644
--- a/src/algorithms/bits/Bits.java
+++ b/src/algorithms/bits/Bits.java
@@ -290,6 +290,9 @@ public class Bits
/**
* Calculate the number of set bits in an integer, optimised parallel version
*
+ * Note tha this algorithm is optimised in the number of high-level operations
+ * and may be a bit slow than the non-optmised version.
+ *
* @param value The integer
* @return The number of set bits
*/