From 2e65d218200e4a9a82897bbab4283a8c941208c7 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 10 Feb 2014 20:16:33 +0100 Subject: note on performance MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/algorithms/bits/Bits.java | 3 +++ 1 file changed, 3 insertions(+) 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 */ -- cgit v1.2.3-70-g09d2