"doc/DesignPatterns.html" did not exist on "37be27653817f0c4c18d695ceea082e0bb7bf462"
INCR: Modify incremented object in-place when possible.
However we don't try to do this if the integer is already inside a range representable with a shared integer. The performance gain appears to be around ~15% in micro benchmarks, however in the long run this also helps to improve locality, so should have more, hard to measure, benefits.
Please register or sign in to comment