Re: Boolean Variable Type

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu, 17 Feb 2000 21:21:54 GMT, Lewis Townsend wrote:

>But I don't really care if it
>takes up 32 bytes of space or not.

I think would really concern me if it took up 32 bytes of space...  unless
you meant to say 32 bits (4 bytes).    8^)

But I'd have to agree that the memory 'wasted' on storing flags in an
integer is trivial these days.  And I would bet that there would be a
performance hit from the need to (internally) mask a bit to determine a
boolean value.

-- Brian

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu