[Python-Dev] Have a big machine and spare time? Here's a possible Python bug. (original) (raw)
Gregory P. Smith greg at krypto.org
Thu May 23 14:49:43 EDT 2019
- Previous message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Next message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I suggest filing a bug to track this...
On Thu, May 23, 2019 at 10:13 AM Tim Peters <tim.peters at gmail.com> wrote:
[Inada Naoki <songofacandy at gmail.com>] > ... > 2. This loop is cleary hot: > https://github.com/python/cpython/blob/51aa35e9e17eef60d04add9619fe2a7eb938358c/Objects/obmalloc.c#L1816-L1819
Which is 3 lines of code plus a closing brace. The OP didn't build their own Python, and the source from which it was compiled wasn't available to them. But they did say that when they got into gdb and single-stepped, it was looping through the same three lines of code, in obmalloc.c, over & over. Which is 100% consistent with the loop you identified as being "the hot spot".
Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/greg%40krypto.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20190523/aea31729/attachment.html>
- Previous message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Next message (by thread): [Python-Dev] Have a big machine and spare time? Here's a possible Python bug.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]