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

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -