-  
 -   Notifications  
You must be signed in to change notification settings  - Fork 33.3k
 
bpo-46841: Quicken code in-place #31888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
   Merged  
     Merged  
 Changes from 36 commits
 Commits 
  Show all changes 
  37 commits   Select commit Hold shift + click to select a range 
 6ca0d42  Move bytecode into the code object 
  brandtbucher a77a124  Clean things up a bit 
  brandtbucher 975b8d1  Bump the magic number 
  brandtbucher 40ddf39  co_bytecode -> _co_code 
  brandtbucher bfcba6d  Generate specialization table 
  brandtbucher 0376822  Clean things up a bit 
  brandtbucher 3e77b8d  Pack code objects more efficiently 
  brandtbucher 0a598a7  Fix typo 
  brandtbucher 2fda3b8  More cleanup 
  brandtbucher 42810dd  Try a different approach 
  brandtbucher 7df4934  Clean up the diff 
  brandtbucher 5fa0ca2  Support equality comparisons again 
  brandtbucher 1fc2282  Never un-quicken! 
  brandtbucher b40e300  More renaming and cleanup 
  brandtbucher af27670  Revert marshal format changes 
  brandtbucher 629bf8b  More cleanup 
  brandtbucher 59cda59  Clean up the diff 
  brandtbucher 73c33c1  Catch up with main 
  brandtbucher ecfb193  Miscellaneous cleanup 
  brandtbucher 824b2da  Remove outdated comment 
  brandtbucher 8164f41  Properly skip over EXTENDED_ARG instructions 
  brandtbucher 932a3f2  Make sure that f_lasti is always valid 
  brandtbucher c0c5498  Add some comments 
  brandtbucher f62a395  Catch up with main 
  brandtbucher e7464a3  Check opargs during size calculations 
  brandtbucher 4f51fdd  Add another TODO 
  brandtbucher 75bd375  Clean up formatting 
  brandtbucher d6d5128  Fix compiler warning 
  brandtbucher 82145c1  Simplify calculation of instr_prev 
  brandtbucher ca176ac  _Py_Quicken -> _PyCode_Quicken 
  brandtbucher 1e06bb5  Revert expensive f_lasti changes 
  brandtbucher e70819f  Naming is hard 
  brandtbucher 001eb53  Catch up with main 
  brandtbucher 6b96204  make patchcheck 
  brandtbucher 3087025  blurb add 
  brandtbucher 6f3bc38  Reuse the PyCodeObject definition for deepfreeze 
  brandtbucher c8054b9  Clean up TODO 
  brandtbucher File filter
Filter by extension
Conversations
 Failed to load comments.  
    Loading  
 Jump to
  Jump to file  
  Failed to load files.  
    Loading  
 Diff view
Diff view
There are no files selected for viewing
   This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters   
        This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters   
       Oops, something went wrong.  
  Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.    
 
Uh oh!
There was an error while loading. Please reload this page.