Hi.
I'm considering creating a table using FastBit that has many boolean  
columns, but it appears that the 8 bit char types are the most compact  
format available.  I could pack them into an unsigned long int, rather  
than store them as separate shorts, but queries on such a column  
(e.g., "packedflags & 0100101001 != 0") would not be able to take  
advantage of the index.

I have 2 questions.
1. Are queries like that even possible in FastBit?
2. Is there a space and time efficient way to represent and query  
these boolean variables?

Thanks,
Andrew
_______________________________________________
FastBit-users mailing list
[email protected]
https://hpcrdm.lbl.gov/cgi-bin/mailman/listinfo/fastbit-users

Reply via email to