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

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -