-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-42115: Add an opcode cache for LOAD_METHOD #23503
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
Conversation
8403dfd
to
e34475d
Compare
@@ -111,7 +111,7 @@ static long dxp[256]; | |||
#else | |||
#define OPCACHE_MIN_RUNS 1024 /* create opcache when code executed this time */ | |||
#endif | |||
#define OPCODE_CACHE_MAX_TRIES 20 | |||
#define OPCACHE_MAX_TRIES 20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's maybe add a comment clarifying what this knob does?
Add a NEWS update? Also this looks pretty similar to my original patch but I didn't compare. Were there any changes to it, I'm just curious? |
The idea is the same but this part is simplified: I am also using I am waiting for Inada-san to confirm the benchmarks before landing and adding the NEWS item |
e34475d
to
21b1566
Compare
I am closing this as the benchmarks are not that exiting after rebasing and benchmarking again :( |
Written by Pablo.
https://bugs.python.org/issue42115