GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||
GeezerVison is showing github.com — bpo-46841: Move the cache for `LOAD_GLOBAL` inline. by markshannon · Pull Request #31575 · python/cpython Conversation
|
|
🤖 New build scheduled with the buildbot fleet by @markshannon for commit 26d0d70 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Performance is underwhelming. What is notable is that the number of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yeah, I suspect we may not see a ton of payoff until we convert most/all of the caches. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
A few things:
_Py_CODEUNIT everywhere you're using uint16_t now (it may also be worth adding _Py_TWOCODEUNITS and _Py_FOURCODEUNITS aliases for uint32_t and uintptr_t, respectively).
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
When you're done making the requested changes, leave the comment: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
👍
Hmm, I'd prefer not. Versions, for example, are 32 bit value, not 2 code units. If the size of the Maybe we should give up on the pretense that the size of the code unit can be easily changed, and replace |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| # Python 3.11a5 3481 (Use inline CACHE instructions) | ||
| # Python 3.11a5 3482 (Use inline caching for UNPACK_SEQUENCE) | ||
| # Python 3.11a5 3481 (Use inline cache for BINARY_OP) | ||
| # Python 3.11a5 3482 (Use inline caching for UNPACK_SEQUENCE and LOAD_GLOBAL) |
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hm, looks like the magic number wasn't actually changed... bad merge?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I figured we didn't need more than one version number per day.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
#31618 has another version number bump.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Ah, I see what you did now. Thanks for clarifying.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.