02-25-2010, 06:37 PM
britlion Wrote:I can't offhand see how this code could be optimised further, honestly. I'd be curious and intrigued to see what clever tricks could be pulled, though.Well, I didn't explain clearly: because they are PART OF the language; the code is the same (bitwise operations will be straighforward). So the code is placed *inline*, so no function call, no push/pop sequence (whenever possible), and availability for all integer types. :!: (8, 16 and 32 bits). :wink:
There will be also a XOR logical operator, so this:
Code:
IF (a < b) AND NOT(b < c) OR NOT (a < b) AND (b < c) THEN
[...]
END IF
Code:
IF (a < b) XOR (b < c) THEN
[...]
END IF
So the language will be completely orthogonal.