News for hackers. Stuff that matters.
Re:Writing Performance Sensitive OCaml Code by thelema314 on Saturday May 13, 2017 @02:46AM (#14329813)
This is correct; OCaml integers are tagged with their LSB being 1 to indicate they're not a pointer. This means that the integer n is stored as 2n+1, and adding 1 requires modifying the stored value by 2.

There are no comments on this comment yet.