BooleanField
    Thomas Flemming 
    tf at ttqv.com
       
    Thu Jun  4 08:20:29 CDT 2009
    
    
  
Hi,
how much diskspace does a Field of type boolean requiere?
I have to add 20 boolean-values to a table and asking myself, if it would be 
better to bit-mask them together and store in one interger-field instead of 
having 20 boolean-fields.
Im also wondering whats faster:
- reading one integer and extracitng 20 booleans out of the bits
or
- reading 20 booleans.
Regards
Tom
-- 
/****************************************
**   Dipl.-Ing. Thomas Flemming
**   Software Development
**
**   Touratech AG
**   Auf dem Zimmermann 7-9
**   D-78078 Niedereschach
**
**   mail  tf at ttqv.com
**   fon   +49 (0) 7728 9279-206
**   fax   +49 (0) 7728 9279-29
**
**   http://www.ttqv.com
**   http://www.touratech.de
**
**   ... und immer dem Pfeil nach!
***************************************/
    
    
More information about the Valentina
mailing list