Re: Euphoria's 1 byte integers?

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

MTS writes:
> 
> One drawback of using Euphoria is that the smallest
> variable you can use is 4 bytes.
> Say you wanna draw an 8-bit image, you're still
> drawing a 32-bit image in a way, and yeah, that's slow
> aswell as bulky.
> 
> But Euphoria could turn this flaw into its best
> feature!
> If Rob would COMPRESS sequences!
> 
> He can do this with the interpreter aswell as the
> translator, because sequences are handled internally
> anyways.
> 
> You know, just like a Zip File can be 70% smaller than
> it's uncrompressed version, so could sequences be
> compressed on an 'if possible' basis.
> Sure things will slow down a bit, but you can let the
> user make the all-famous Speed Over Size  choice with
> an 'with compression' statement.
> 
> 
> Think about it, Rob.
> 
> 
> Mike The Spike

You can use arrays in Euphoria with allocate/peek/poke.

    Martin

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

Search



Quick Links

User menu

Not signed in.

Misc Menu