You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
A previous commit added inline functions that provide fast(er) andcorrect overflow checks for signed integer math. Use them in asignificant portion of backend code. There's more to touch in bothbackend and frontend code, but these were the easily identifiablecases.The old overflow checks are noticeable in integer heavy workloads.A secondary benefit is that getting rid of overflow checks that relyon signed integer overflow wrapping around, will allow us to get ridof -fwrapv in the future. Which in turn slows down other code.Author: Andres FreundDiscussion:https://postgr.es/m/20171024103954.ztmatprlglz3rwke@alap3.anarazel.de