[Slackers] Slangdef, part 2
Magnus Lind
magli143 at comhem.se
Wed Jun 14 14:17:45 CDT 2006
Steve Judd wrote:
>> Well, actually the maximum table size is 256 elements, so in that example
>> it would have 15 pages of memory = around 4k. So, still a lot, but not
>
> Sorry, should be 8k, not 4k (two bytes per table element). Which, yeah,
> isn't so hot.
>
> I have a way in mind that might do what you suggested, without too much
> pain. I'll look into it.
Well, there's no rush since there are ways to work around it. I just
thought it would be a nice feature.
These tables could possibly be used to speedup integer multiplication
with small constants that happens to match some array dimension/element
size too, right?
This is getting more and more off topic, but basic stores its integers
in big endian style. How much work would it be to support another slang
integer type (tni?) that would behave just like the normal int but is
stored big endian? This would make value passing between basic and slang
almost trivial.
/Regards
Magnus Lind
More information about the Slackers
mailing list