From e9e060064d235b3affb941dcf946bc32b7b9292f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 10 Feb 2014 20:21:53 +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, 2 insertions(+), 1 deletion(-) diff --git a/src/algorithms/bits/Bits.java b/src/algorithms/bits/Bits.java index d760afe..e66de80 100644 --- a/src/algorithms/bits/Bits.java +++ b/src/algorithms/bits/Bits.java @@ -222,7 +222,8 @@ public class Bits { £>function _ { echo "ONES_TABLE_256[(int)((value >> $1) & 255)]" ; } return (byte)((byte)(£(_ 0) + £(_ 8)) + (byte)(£(_ 16) + £(_ 24))); - /* In C you can split the value by getting the address of the value and cast the pointer to char* */ + /* In C you can split the value by getting the address of the + value and cast the pointer to char*, that is however slower. */ } /** -- cgit v1.2.3-70-g09d2