Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
GH-98686: Quicken everything#98687
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
9308140
30282eb
a7fd54f
0a204e1
d407a51
fc5c338
659add7
f9f9c3a
5bf4b12
9b59294
6e3869c
17292a3
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -91,28 +91,8 @@ typedef struct { | ||
#define INLINE_CACHE_ENTRIES_FOR_ITER CACHE_ENTRIES(_PyForIterCache) | ||
extern uint8_t _PyOpcode_Adaptive[256]; | ||
// Borrowed references to common callables: | ||
struct callable_cache { | ||
PyObject *isinstance; | ||
@@ -252,10 +232,10 @@ extern void _Py_Specialize_UnpackSequence(PyObject *seq, _Py_CODEUNIT *instr, | ||
int oparg); | ||
extern void _Py_Specialize_ForIter(PyObject *iter, _Py_CODEUNIT *instr); | ||
/*Finalizer function for static codeobjects used in deepfreeze.py */ | ||
extern void_PyStaticCode_Fini(PyCodeObject *co); | ||
/* Function to intern strings of codeobjectsand quicken the bytecode*/ | ||
extern int_PyStaticCode_Init(PyCodeObject *co); | ||
#ifdef Py_STATS | ||
@@ -397,8 +377,8 @@ write_location_entry_start(uint8_t *ptr, int code, int length) | ||
/* With a 16-bit counter, we have 12 bits for the counter value, and 4 bits for the backoff */ | ||
#define ADAPTIVE_BACKOFF_BITS 4 | ||
/* The initial counter value is1 == 2**ADAPTIVE_BACKOFF_START - 1 */ | ||
#define ADAPTIVE_BACKOFF_START1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. This is for backoff, after failure. Do you want to change this, or just lower the initial counter value? | ||
#define MAX_BACKOFF_VALUE (16 - ADAPTIVE_BACKOFF_BITS) | ||
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.