This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dennis Sweeney
Recipients Dennis Sweeney, corona10, serhiy.storchaka, vstinner
Date 2020-02-26.02:50:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1582685423.35.0.299651431301.issue39737@roundup.psfhosted.org>
In-reply-to
Content
> Hmm, Is this build on release mode?

Yes--in debug mode, each Py_INCREF is these 8 instructions:

========================
78BD071E  mov         ecx,dword ptr [_Py_RefTotal (79039700h)]  
78BD0724  add         ecx,1  
78BD0727  mov         dword ptr [_Py_RefTotal (79039700h)],ecx  
78BD072D  mov         edx,dword ptr [ebp-10h]  
78BD0730  mov         eax,dword ptr [edx]  
78BD0732  add         eax,1  
78BD0735  mov         ecx,dword ptr [ebp-10h]  
78BD0738  mov         dword ptr [ecx],eax  
========================

instead of just the one `inc` in release mode.
History
Date User Action Args
2020-02-26 02:50:23Dennis Sweeneysetrecipients: + Dennis Sweeney, vstinner, serhiy.storchaka, corona10
2020-02-26 02:50:23Dennis Sweeneysetmessageid: <1582685423.35.0.299651431301.issue39737@roundup.psfhosted.org>
2020-02-26 02:50:23Dennis Sweeneylinkissue39737 messages
2020-02-26 02:50:23Dennis Sweeneycreate