Dan Luu 12/17/2014

Integer overflow checking cost

Read Original

This technical article investigates the performance cost of enabling integer overflow checks via compiler flags. It breaks down the potential overhead, estimating a worst-case 2x penalty per arithmetic operation, but concludes the real-world impact on overall application performance is minimal (around 3-5%) based on analysis and benchmarks of the bzip2 compression tool.

Integer overflow checking cost

Comments

No comments yet

Be the first to share your thoughts!