Longs and Doubles are both 64-bit values and are pretty easily
convertible. Check out Double.doubleToLongBits and
Double.longBitsToDouble in the JDK; you can also read more about the
details of the conversion and get some pointers to some code in a post
I wrote last year:
http://jasonfager.com/770
ue, Dec 28, 2010 at 3:14 PM, Jonathan Ellis wrote:
> Hi Jason,
>
> Thanks for looking into this!
>
> What tool are you using? I belatedly noticed your tickets (we should
> have them resolved for 0.6.9) and it might be useful to do another
> check against the 0.7 code.
>
>
n Fri, Aug 6, 2010 at 4:37 PM, Gary Dusbabek wrote:
> I think if there is a demonstrable increase in performance or other
> obvious wins, then you should go ahead and submit jiras (and patches).
>
> Gary.
>
> On Fri, Aug 6, 2010 at 15:25, Jason Fager wrote:
>> Hi all,
>>
Hi all,
I'm doing some work with the Java Debugger Interface, and I'm using
Cassandra as a test bed. I've found a few minor contention spots
(example: MessageDigest.getInstance() being called for every
invocation of FBUtilities.hash()), but before I start possibly
spamming your jira with them, I