ocaml - Why are int32s/int64s slower than ints? -


i've read in reference doc of int32 module:

performance notice: values of type int32 occupy more memory space values of type int, , arithmetic operations on int32 slower on int. use int32 when application requires exact 32-bit arithmetic.

why int32s happen slower ints? because boxed or something?

is because boxed or something?

yes.


Comments

Popular posts from this blog

node.js - NodeJS remote terminal to Dropbear OpenWRT-Server -

Qt4: how to send QString inside a struct via QSharedMemory -

node.js - On Gitbash - Bower : ENOGIT git is not installed or not in the PATH -