Big numbers

Chandrashekhar Mullaparthi <>
Tue Feb 19 14:34:11 CET 2002


I have a record in which one of the elements is a bitmap which can be about
a 100 bits long. Is it more efficient to store the bitmap as a binary or as
a number in Mnesia. I will be storing millions of these records. 

The only operation I will be doing on these bitmaps is checking whether
certain bits are set. If using numbers I can use the "band" operator. Is
there any computation overhead when dealing with big numbers compared to
dealing with binaries in this aspect.

tia,
Chandru



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.




More information about the erlang-questions mailing list