You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if it would actually make a difference, but... "Theoretically", it could make the VM faster. The "fast" size for int_fast16_t is not the same as int16_t, at least in two architectures that I use.
Of course, I tried to just change the types and... STklos crashed when compiling (Well, I supposed it wouldn't be as simple as that).
But theoretically, the bytecode files wouldn't need to be changed. We can store the bytes as usual, and read them into int_fast16_t variables instead of int16_t...
Anyway -- not urgent, of course!
The text was updated successfully, but these errors were encountered:
jpellegrini
changed the title
[for the future] Maybe use int_fast16_t instead of int_16 in the VM?
[for the future] Maybe use int_fast16_t instead of int16_t in the VM?
Aug 28, 2023
Hi @egallesio !
I'm not sure if it would actually make a difference, but... "Theoretically", it could make the VM faster. The "fast" size for
int_fast16_t
is not the same asint16_t
, at least in two architectures that I use.On an
amd64
machine I getOn a mipsel wireless router,
Of course, I tried to just change the types and... STklos crashed when compiling (Well, I supposed it wouldn't be as simple as that).
But theoretically, the bytecode files wouldn't need to be changed. We can store the bytes as usual, and read them into
int_fast16_t
variables instead ofint16_t
...Anyway -- not urgent, of course!
The text was updated successfully, but these errors were encountered: