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 — GH-131798: Narrow types more aggressively in the JIT by brandtbucher · Pull Request #134373 · python/cpython Conversation
|
| case _POP_TOP_LOAD_CONST_INLINE: | ||
| case _POP_TOP_LOAD_CONST_INLINE_BORROW: | ||
| last->opcode = _NOP; | ||
| goto optimize_pop_top_again; | ||
| case _COPY: | ||
| case _LOAD_CONST_INLINE: | ||
| case _LOAD_CONST_INLINE_BORROW: | ||
| case _LOAD_FAST: | ||
| case _LOAD_FAST_BORROW: | ||
| case _LOAD_SMALL_INT: | ||
| last->opcode = _NOP; | ||
| if (opcode == _POP_TOP) { | ||
| opcode = buffer[pc].opcode = _NOP; | ||
| } | ||
| else if (opcode == _POP_TOP_LOAD_CONST_INLINE) { | ||
| opcode = buffer[pc].opcode = _LOAD_CONST_INLINE; | ||
| } | ||
| else if (opcode == _POP_TOP_LOAD_CONST_INLINE_BORROW) { | ||
| opcode = buffer[pc].opcode = _LOAD_CONST_INLINE_BORROW; | ||
| } | ||
| else { | ||
| assert(opcode == _POP_TWO_LOAD_CONST_INLINE_BORROW); | ||
| opcode = buffer[pc].opcode = _POP_TOP_LOAD_CONST_INLINE_BORROW; | ||
| goto optimize_pop_top_again; | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
feels good 🤩
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.