[Freebase-discuss] Converting Freebase mid to integer

Thad Guidry thadguidry at gmail.com
Sat Sep 24 03:06:12 UTC 2011


BTW, why do you need to convert to an integer ?  What's your specific use
case for storing the mid in your data structure ?  What IS your data
structure to store in ?

On Fri, Sep 23, 2011 at 9:43 PM, George Kola <georgekola at gmail.com> wrote:

> I am working with the Freebase quad dump. I am trying to efficiently
> store the mid in my data structure. I want to know if there is an easy
> way to convert the mid into an integer. I can use a hash function, but
> would like to know if there is  a better way. It looks like (I may be
> wrong) the mid is some form of representation of an underlying binary
> value but I cannot figure out what the representation is.
>
>
> Thanks,
> George
> _______________________________________________
> You are receiving this message because you are subscribed to the
> Freebase-discuss mailing list.
> To post a message to the list: Freebase-discuss at freebase.com
> To unsubscribe, view archives, etc:
> http://lists.freebase.com/mailman/listinfo/freebase-discuss
>



-- 
-Thad
http://www.freebase.com/view/en/thad_guidry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freebase.com/pipermail/freebase-discuss/attachments/20110923/528e4370/attachment.htm>


More information about the Freebase-discuss mailing list