We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb03b20 commit d9783caCopy full SHA for d9783ca
1 file changed
InternalDocs/interpreter.md
@@ -558,11 +558,15 @@ at the very least, a 16-bit counter is needed.
558
559
3. Write the specializing function itself in [Python/specialize.c ](../Python/specialize.c).
560
Refer to any other function in that file for the format.
561
+
562
4. Remember to update operation stats by calling `add_stat_dict` in
563
[Python/specialize.c ](../Python/specialize.c).
564
565
5. Add the cache layout in [Lib/opcode.py](../Lib/opcode.py) so that Python's
566
dis module will know how to represent it properly.
567
568
6. Bump magic number in [Include/core/pycore_magic_number.h](../Include/internal/pycore_magic_number.h).
569
570
7. Run ``make regen-all`` on `*nix` or `build.bat --regen` on Windows.
571
572
0 commit comments