1. Euphoria's 1 byte integers?
- Posted by mtsreborn_again at yahoo.com Jul 30, 2001
- 372 views
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 >
2. Re: Euphoria's 1 byte integers?
- Posted by martin.stachon at worldonline.cz Jul 31, 2001
- 390 views
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