Message 259713 - Python tracker
msg223186, Serhiy Storchaka about inline.patch: "Confirmed speed up about 20%. Surprisingly it affects even integers outside of the of preallocated small integers (-5...255)." The optimization applies to Python int with 0 or 1 digit so in range [-2^30+1; 2^30-1]. Small integers in [-5; 255] might be faster but for PyLong_FromLong().