When we use a variable to store an Integer, is there a maximum on the Espruino board? The official maximum for Javascript is 2^53, but I don't know if this holds up for the Espruino.
Furthermore, is there a performance maximum? I would assume that smaller numbers are more efficient since they are easier to represent and can fit in one register. Up to what maximum number would performance be best?
Finally, I assume that the chars in a String range from 0-255? I looked through the reference, but I could not find any description of how to use Unicode chars so I assume those are not supported?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
When we use a variable to store an Integer, is there a maximum on the Espruino board? The official maximum for Javascript is 2^53, but I don't know if this holds up for the Espruino.
Furthermore, is there a performance maximum? I would assume that smaller numbers are more efficient since they are easier to represent and can fit in one register. Up to what maximum number would performance be best?
Finally, I assume that the chars in a String range from 0-255? I looked through the reference, but I could not find any description of how to use Unicode chars so I assume those are not supported?