Re: NULL value anyone?

new topic     » goto parent     » topic index » view thread      » older message » newer message
Shian_Lee said...

There are many other ways to use Booleans, depends on what the stack is for. Booleans can be stored in a single integer and set/reset using or_bits()/and_bits() which is fast and convenient.

The important thing to remember is that NOVALUE modifies the behavior of Euphoria in a massive way, and the "Cost Vs Benefit" might be awful and truly not reasonable.



Seems to me once again Shian-Lee that you are around programming quite some time.
You might possibly even remember 8086-asm coding where we used to utilise even insignificant bits
in opcodes to store booleans, just for saving crucial bytes of space as in those days
64Kb was a lot of memory that came at incredible prices.

NOVALUE indeed is a monster in disguise only needed by those who don't understand bit-wise booleans ;)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu