mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: Big Longs in RecommenderJob
Date Tue, 08 Jun 2010 17:19:07 GMT
Yep nice one Ted, that's equivalent and faster. Will do.

On Jun 8, 2010 5:33 PM, "Ted Dunning" <ted.dunning@gmail.com> wrote:

I confess I don't quite understand the issue.  A comment or three might
help.

Does this line:


return temp ^ ((raw >> 63) << 63);
Invert the sign bit if present in raw?

If so, would this be any different?

  return temp ^ (raw & (1<<63));



On Tue, Jun 8, 2010 at 4:42 AM, Sean Owen <srowen@gmail.com> wrote:

> public static long readSig...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message