I'm doing my first lejOS robot (floor cleaning robot
I wonder wether it has any speed/space advantages to use byte instead of integer in lejOS.
In the provided classes it seems that only integers are used (even if not required). So far I used byte where possible, but this requires a cast when using constants which is a bit anoying.
Is all the computation and storing done in integers anyway or does using byte gives an advantage?
And if I'm already asking about datatypes: am I right that there's no hardware floatingpoint unit available? Or, the other way around, is float "bad" (as in many embedded systems)?
Thanks,
Titiwu
