mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Big Longs in RecommenderJob
Date Mon, 07 Jun 2010 23:36:59 GMT
The other solution would be to be satisfied with 62 bits of id space and
only generate "small" longs.

On Mon, Jun 7, 2010 at 3:39 PM, Sean Owen <srowen@gmail.com> wrote:

> Yeah the problem is that signed values are zig-zag encoded into an
> unsigned value, which loses 1 bit, in addition to losing another bit
> by mapping to unsigned values.
>
> Still there is definitely a way to make it work; the encoding is
> certainly defined for larger values and there is a need for it. I can
> work on the right fix.
>

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