Construct CallCompiledObjectMethodPosArgsConstant1

Performance Diagrams

Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)10960830188.11538461538461257.0CPython 3.1035658095240.03846153846155423.7230805637332Nuitka (main)35658831391.96153846153845423.72142122843275Nuitka (develop)35658657543.8846153846154423.72181351694127Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)9443994388.95192307692307257.0CPython 3.834116936242.31730769230768414.8436263558687Nuitka (main)34151438395.6826923076923414.75334702353155Nuitka (develop)34150581549.0480769230769414.7555894844849Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks Construct CallCompiledObjectMethodPosArgsConstant1 00100000001000000020000000200000003000000030000000400000004000000050000000500000006000000060000000700000007000000080000000800000009000000090000000100000000100000000110000000110000000120000000120000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)12240923288.11538461538461257.0CPython 2.734253678240.03846153846155434.9652831470449Nuitka (main)34253678391.96153846153845434.9652831470449Nuitka (develop)34253678543.8846153846154434.9652831470449Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant1Ticks

Source Code with Construct

    inst.compiled_method("some")
    inst.compiled_method("some")
    inst.compiled_method("some")

    # construct_alternative




for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.

Source Code without Construct

    # construct_alternative
    pass
    # construct_end


for x in itertools.repeat(None, 50000):
    calledRepeatedly()

print("OK.")

#     Python test originally created or extracted from other peoples work. The
#     parts from me are licensed as below. It is at least Free Software where
#     it's copied from other people. In these cases, that will normally be
#     indicated.
#
#     Licensed under the Apache License, Version 2.0 (the "License");
#     you may not use this file except in compliance with the License.
#     You may obtain a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
#     Unless required by applicable law or agreed to in writing, software
#     distributed under the License is distributed on an "AS IS" BASIS,
#     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#     See the License for the specific language governing permissions and
#     limitations under the License.

Context Diff of Source Code


Construct
Baseline
15     inst = C() 15     inst = C()
16 16
17     # This is supposed to make a call to a compiled method, which is 17     # This is supposed to make a call to a compiled method, which is
18     # being optimized separately. 18     # being optimized separately.
19     # construct_begin 19     # construct_begin
n 20     inst.compiled_method("some") n 20  
21     inst.compiled_method("some") 21  
22     inst.compiled_method("some") 22  
23 23
24     # construct_alternative 24     # construct_alternative
t 25   t 25     pass
26   26     # construct_end
27 27
28 28
29 for x in itertools.repeat(None, 50000): 29 for x in itertools.repeat(None, 50000):
30     calledRepeatedly() 30     calledRepeatedly()
31 31

Context Diff of Generated Code


Construct
Baseline
31 31
32 PyObject *module___main__; 32 PyObject *module___main__;
33 PyDictObject *moduledict___main__; 33 PyDictObject *moduledict___main__;
34 34
35 /* The declarations of module constants used, if any. */ 35 /* The declarations of module constants used, if any. */
n 36 static PyObject *mod_consts[22]; n 36 static PyObject *mod_consts[21];
37 #ifndef __NUITKA_NO_ASSERT__ 37 #ifndef __NUITKA_NO_ASSERT__
n 38 static Py_hash_t mod_consts_hash[22]; n 38 static Py_hash_t mod_consts_hash[21];
39 #endif 39 #endif
40 40
41 static PyObject *module_filename_obj = NULL; 41 static PyObject *module_filename_obj = NULL;
42 42
43 /* Indicator if this modules private constants were created yet. */ 43 /* Indicator if this modules private constants were created yet. */
48     if (constants_created == false) { 48     if (constants_created == false) {
49         loadConstantsBlob(tstate, &mod_consts[0], UNTRANSLATE("__main__")); 49         loadConstantsBlob(tstate, &mod_consts[0], UNTRANSLATE("__main__"));
50         constants_created = true; 50         constants_created = true;
51 51
52 #ifndef __NUITKA_NO_ASSERT__ 52 #ifndef __NUITKA_NO_ASSERT__
n 53         for (int i = 0; i < 22; i++) { n 53         for (int i = 0; i < 21; i++) {
54             mod_consts_hash[i] = DEEP_HASH(tstate, mod_consts[i]); 54             mod_consts_hash[i] = DEEP_HASH(tstate, mod_consts[i]);
55         } 55         }
56 #endif 56 #endif
57     } 57     }
58 } 58 }
68 #ifndef __NUITKA_NO_ASSERT__ 68 #ifndef __NUITKA_NO_ASSERT__
69 void checkModuleConstants___main__(PyThreadState *tstate) { 69 void checkModuleConstants___main__(PyThreadState *tstate) {
70     // The module may not have been used at all, then ignore this. 70     // The module may not have been used at all, then ignore this.
71     if (constants_created == false) return; 71     if (constants_created == false) return;
72 72
n 73     for (int i = 0; i < 22; i++) { n 73     for (int i = 0; i < 21; i++) {
74         assert(mod_consts_hash[i] == DEEP_HASH(tstate, mod_consts[i])); 74         assert(mod_consts_hash[i] == DEEP_HASH(tstate, mod_consts[i]));
75         CHECK_OBJECT_DEEP(mod_consts[i]); 75         CHECK_OBJECT_DEEP(mod_consts[i]);
76     } 76     }
77 } 77 }
78 #endif 78 #endif
83 static PyCodeObject *codeobj_18d37d4e30e4980860715f100add3b44; 83 static PyCodeObject *codeobj_18d37d4e30e4980860715f100add3b44;
84 /* For use in "MainProgram.c". */ 84 /* For use in "MainProgram.c". */
85 PyCodeObject *codeobj_main = NULL; 85 PyCodeObject *codeobj_main = NULL;
86 86
87 static void createModuleCodeObjects(void) { 87 static void createModuleCodeObjects(void) {
n 88     module_filename_obj = mod_consts[4]; CHECK_OBJECT(module_filename_obj); n 88     module_filename_obj = mod_consts[2]; CHECK_OBJECT(module_filename_obj);
89     codeobj_a4f956db0b6df061899d5d312c920b96 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[18], mod_consts[18], NULL, NULL, 0, 0, 0); 89     codeobj_a4f956db0b6df061899d5d312c920b96 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[17], mod_consts[17], NULL, NULL, 0, 0, 0);
90     codeobj_main = codeobj_a4f956db0b6df061899d5d312c920b96; 90     codeobj_main = codeobj_a4f956db0b6df061899d5d312c920b96;
n 91     codeobj_aa7ae6bfb5c635aca78aa4a27312c159 = MAKE_CODE_OBJECT(module_filename_obj, 14, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[12], mod_consts[12], mod_consts[19], NULL, 0, 0, 0); n 91     codeobj_aa7ae6bfb5c635aca78aa4a27312c159 = MAKE_CODE_OBJECT(module_filename_obj, 14, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[11], mod_consts[11], mod_consts[18], NULL, 0, 0, 0);
92     codeobj_18d37d4e30e4980860715f100add3b44 = MAKE_CODE_OBJECT(module_filename_obj, 10, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[1], mod_consts[20], mod_consts[21], NULL, 2, 0, 0); 92     codeobj_18d37d4e30e4980860715f100add3b44 = MAKE_CODE_OBJECT(module_filename_obj, 10, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[6], mod_consts[19], mod_consts[20], NULL, 2, 0, 0);
93 } 93 }
94 94
95 // The module function declarations. 95 // The module function declarations.
96 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_method(); 96 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_method();
97 97
148     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; 148     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
149     PyObject *exception_type = NULL; 149     PyObject *exception_type = NULL;
150     PyObject *exception_value = NULL; 150     PyObject *exception_value = NULL;
151     PyTracebackObject *exception_tb = NULL; 151     PyTracebackObject *exception_tb = NULL;
152     NUITKA_MAY_BE_UNUSED int exception_lineno = 0; 152     NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
n 153     NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; n
154     static struct Nuitka_FrameObject *cache_frame_aa7ae6bfb5c635aca78aa4a27312c159 = NULL; 153     static struct Nuitka_FrameObject *cache_frame_aa7ae6bfb5c635aca78aa4a27312c159 = NULL;
155     PyObject *tmp_return_value = NULL; 154     PyObject *tmp_return_value = NULL;
156     PyObject *exception_keeper_type_1; 155     PyObject *exception_keeper_type_1;
157     PyObject *exception_keeper_value_1; 156     PyObject *exception_keeper_value_1;
158     PyTracebackObject *exception_keeper_tb_1; 157     PyTracebackObject *exception_keeper_tb_1;
218             type_description_1 = "o"; 217             type_description_1 = "o";
219             goto frame_exception_exit_1; 218             goto frame_exception_exit_1;
220         } 219         }
221         assert(var_inst == NULL); 220         assert(var_inst == NULL);
222         var_inst = tmp_assign_source_1; 221         var_inst = tmp_assign_source_1;
n 223     } n
224     {
225         PyObject *tmp_called_instance_1;
226         PyObject *tmp_call_result_1;
227         CHECK_OBJECT(var_inst);
228         tmp_called_instance_1 = var_inst;
229         frame_aa7ae6bfb5c635aca78aa4a27312c159->m_frame.f_lineno = 20;
230         tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
231             tstate,
232             tmp_called_instance_1,
233             mod_consts[1],
234             PyTuple_GET_ITEM(mod_consts[2], 0)
235         );
236  
237         if (tmp_call_result_1 == NULL) {
238             assert(HAS_ERROR_OCCURRED(tstate));
239  
240             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
241  
242  
243             exception_lineno = 20;
244             type_description_1 = "o";
245             goto frame_exception_exit_1;
246         }
247         Py_DECREF(tmp_call_result_1);
248     }
249     {
250         PyObject *tmp_called_instance_2;
251         PyObject *tmp_call_result_2;
252         CHECK_OBJECT(var_inst);
253         tmp_called_instance_2 = var_inst;
254         frame_aa7ae6bfb5c635aca78aa4a27312c159->m_frame.f_lineno = 21;
255         tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(
256             tstate,
257             tmp_called_instance_2,
258             mod_consts[1],
259             PyTuple_GET_ITEM(mod_consts[2], 0)
260         );
261  
262         if (tmp_call_result_2 == NULL) {
263             assert(HAS_ERROR_OCCURRED(tstate));
264  
265             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
266  
267  
268             exception_lineno = 21;
269             type_description_1 = "o";
270             goto frame_exception_exit_1;
271         }
272         Py_DECREF(tmp_call_result_2);
273     }
274     {
275         PyObject *tmp_called_instance_3;
276         PyObject *tmp_call_result_3;
277         CHECK_OBJECT(var_inst);
278         tmp_called_instance_3 = var_inst;
279         frame_aa7ae6bfb5c635aca78aa4a27312c159->m_frame.f_lineno = 22;
280         tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(
281             tstate,
282             tmp_called_instance_3,
283             mod_consts[1],
284             PyTuple_GET_ITEM(mod_consts[2], 0)
285         );
286  
287         if (tmp_call_result_3 == NULL) {
288             assert(HAS_ERROR_OCCURRED(tstate));
289  
290             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
291  
292  
293             exception_lineno = 22;
294             type_description_1 = "o";
295             goto frame_exception_exit_1;
296         }
297         Py_DECREF(tmp_call_result_3);
298     } 222     }
299 223
300 224
301     // Put the previous frame back on top. 225     // Put the previous frame back on top.
302     popFrameStack(tstate); 226     popFrameStack(tstate);
357     exception_type = NULL; 281     exception_type = NULL;
358     exception_value = NULL; 282     exception_value = NULL;
359     exception_tb = NULL; 283     exception_tb = NULL;
360     exception_lineno = 0; 284     exception_lineno = 0;
361 285
n 362     Py_XDECREF(var_inst); n
363     var_inst = NULL;
364     // Re-raise. 286     // Re-raise.
365     exception_type = exception_keeper_type_1; 287     exception_type = exception_keeper_type_1;
366     exception_value = exception_keeper_value_1; 288     exception_value = exception_keeper_value_1;
367     exception_tb = exception_keeper_tb_1; 289     exception_tb = exception_keeper_tb_1;
368     exception_lineno = exception_keeper_lineno_1; 290     exception_lineno = exception_keeper_lineno_1;
394 316
395 317
396 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_method() { 318 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_method() {
397     struct Nuitka_FunctionObject *result = Nuitka_Function_New( 319     struct Nuitka_FunctionObject *result = Nuitka_Function_New(
398         impl___main__$$$function__1_compiled_method, 320         impl___main__$$$function__1_compiled_method,
n 399         mod_consts[1], n 321         mod_consts[6],
400 #if PYTHON_VERSION >= 0x300 322 #if PYTHON_VERSION >= 0x300
401         NULL, 323         NULL,
402 #endif 324 #endif
403         codeobj_18d37d4e30e4980860715f100add3b44, 325         codeobj_18d37d4e30e4980860715f100add3b44,
404         NULL, 326         NULL,
419 341
420 342
421 static PyObject *MAKE_FUNCTION___main__$$$function__2_calledRepeatedly() { 343 static PyObject *MAKE_FUNCTION___main__$$$function__2_calledRepeatedly() {
422     struct Nuitka_FunctionObject *result = Nuitka_Function_New( 344     struct Nuitka_FunctionObject *result = Nuitka_Function_New(
423         impl___main__$$$function__2_calledRepeatedly, 345         impl___main__$$$function__2_calledRepeatedly,
n 424         mod_consts[12], n 346         mod_consts[11],
425 #if PYTHON_VERSION >= 0x300 347 #if PYTHON_VERSION >= 0x300
426         NULL, 348         NULL,
427 #endif 349 #endif
428         codeobj_aa7ae6bfb5c635aca78aa4a27312c159, 350         codeobj_aa7ae6bfb5c635aca78aa4a27312c159,
429         NULL, 351         NULL,
819 741
820     // Module code. 742     // Module code.
821     { 743     {
822         PyObject *tmp_assign_source_1; 744         PyObject *tmp_assign_source_1;
823         tmp_assign_source_1 = Py_None; 745         tmp_assign_source_1 = Py_None;
n 824         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_1); n 746         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_1);
825     } 747     }
826     { 748     {
827         PyObject *tmp_assign_source_2; 749         PyObject *tmp_assign_source_2;
n 828         tmp_assign_source_2 = mod_consts[4]; n 750         tmp_assign_source_2 = mod_consts[2];
829         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_2); 751         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_2);
830     } 752     }
831     { 753     {
832         PyObject *tmp_assign_source_3; 754         PyObject *tmp_assign_source_3;
833         { 755         {
834             PyObject *hard_module = IMPORT_HARD___FUTURE__(); 756             PyObject *hard_module = IMPORT_HARD___FUTURE__();
n 835             tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tstate, hard_module, mod_consts[6]); n 757             tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tstate, hard_module, mod_consts[4]);
836         } 758         }
837         assert(!(tmp_assign_source_3 == NULL)); 759         assert(!(tmp_assign_source_3 == NULL));
n 838         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_3); n 760         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_3);
839     } 761     }
840     frame_a4f956db0b6df061899d5d312c920b96 = MAKE_MODULE_FRAME(codeobj_a4f956db0b6df061899d5d312c920b96, module___main__); 762     frame_a4f956db0b6df061899d5d312c920b96 = MAKE_MODULE_FRAME(codeobj_a4f956db0b6df061899d5d312c920b96, module___main__);
841 763
842     // Push the new frame as the currently active one, and we should be exclusively 764     // Push the new frame as the currently active one, and we should be exclusively
843     // owning it. 765     // owning it.
849         PyObject *tmp_assign_source_4; 771         PyObject *tmp_assign_source_4;
850         PyObject *tmp_name_value_1; 772         PyObject *tmp_name_value_1;
851         PyObject *tmp_globals_arg_value_1; 773         PyObject *tmp_globals_arg_value_1;
852         PyObject *tmp_locals_arg_value_1; 774         PyObject *tmp_locals_arg_value_1;
853         PyObject *tmp_fromlist_value_1; 775         PyObject *tmp_fromlist_value_1;
n 854         tmp_name_value_1 = mod_consts[7]; n 776         tmp_name_value_1 = mod_consts[5];
855         tmp_globals_arg_value_1 = (PyObject *)moduledict___main__; 777         tmp_globals_arg_value_1 = (PyObject *)moduledict___main__;
856         tmp_locals_arg_value_1 = Py_None; 778         tmp_locals_arg_value_1 = Py_None;
857         tmp_fromlist_value_1 = Py_None; 779         tmp_fromlist_value_1 = Py_None;
858         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 6; 780         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 6;
859         tmp_assign_source_4 = IMPORT_MODULE4(tstate, tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1); 781         tmp_assign_source_4 = IMPORT_MODULE4(tstate, tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1);
865 787
866             exception_lineno = 6; 788             exception_lineno = 6;
867 789
868             goto frame_exception_exit_1; 790             goto frame_exception_exit_1;
869         } 791         }
n 870         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_4); n 792         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_4);
871     } 793     }
872     { 794     {
873         PyObject *tmp_assign_source_5; 795         PyObject *tmp_assign_source_5;
874         { 796         {
875             PyObject *tmp_assign_source_6; 797             PyObject *tmp_assign_source_6;
882         } 804         }
883         // Tried code: 805         // Tried code:
884         { 806         {
885             PyObject *tmp_dict_key_1; 807             PyObject *tmp_dict_key_1;
886             PyObject *tmp_dict_value_1; 808             PyObject *tmp_dict_value_1;
n 887             tmp_dict_value_1 = mod_consts[8]; n 809             tmp_dict_value_1 = mod_consts[7];
888             tmp_dict_key_1 = mod_consts[9]; 810             tmp_dict_key_1 = mod_consts[8];
889             tmp_assign_source_5 = _PyDict_NewPresized( 2 ); 811             tmp_assign_source_5 = _PyDict_NewPresized( 2 );
890             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1); 812             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1);
891             assert(!(tmp_res != 0)); 813             assert(!(tmp_res != 0));
892             CHECK_OBJECT(tmp_locals___main__$$$class__1_C_9_key_compiled_method); 814             CHECK_OBJECT(tmp_locals___main__$$$class__1_C_9_key_compiled_method);
893             tmp_dict_value_1 = tmp_locals___main__$$$class__1_C_9_key_compiled_method; 815             tmp_dict_value_1 = tmp_locals___main__$$$class__1_C_9_key_compiled_method;
n 894             tmp_dict_key_1 = mod_consts[1]; n 816             tmp_dict_key_1 = mod_consts[6];
895             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1); 817             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1);
896             assert(!(tmp_res != 0)); 818             assert(!(tmp_res != 0));
897             goto try_return_handler_1; 819             goto try_return_handler_1;
898         } 820         }
899         NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); 821         NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
916         bool tmp_condition_result_1; 838         bool tmp_condition_result_1;
917         PyObject *tmp_key_value_1; 839         PyObject *tmp_key_value_1;
918         PyObject *tmp_dict_arg_value_1; 840         PyObject *tmp_dict_arg_value_1;
919         PyObject *tmp_dict_arg_value_2; 841         PyObject *tmp_dict_arg_value_2;
920         PyObject *tmp_key_value_2; 842         PyObject *tmp_key_value_2;
n 921         tmp_key_value_1 = mod_consts[10]; n 843         tmp_key_value_1 = mod_consts[9];
922         CHECK_OBJECT(tmp_class_creation_1__class_dict); 844         CHECK_OBJECT(tmp_class_creation_1__class_dict);
923         tmp_dict_arg_value_1 = tmp_class_creation_1__class_dict; 845         tmp_dict_arg_value_1 = tmp_class_creation_1__class_dict;
924         tmp_res = DICT_HAS_ITEM(tstate, tmp_dict_arg_value_1, tmp_key_value_1); 846         tmp_res = DICT_HAS_ITEM(tstate, tmp_dict_arg_value_1, tmp_key_value_1);
925         assert(!(tmp_res == -1)); 847         assert(!(tmp_res == -1));
926         tmp_condition_result_1 = (tmp_res != 0) ? true : false; 848         tmp_condition_result_1 = (tmp_res != 0) ? true : false;
930             goto condexpr_false_1; 852             goto condexpr_false_1;
931         } 853         }
932         condexpr_true_1:; 854         condexpr_true_1:;
933         CHECK_OBJECT(tmp_class_creation_1__class_dict); 855         CHECK_OBJECT(tmp_class_creation_1__class_dict);
934         tmp_dict_arg_value_2 = tmp_class_creation_1__class_dict; 856         tmp_dict_arg_value_2 = tmp_class_creation_1__class_dict;
n 935         tmp_key_value_2 = mod_consts[10]; n 857         tmp_key_value_2 = mod_consts[9];
936         tmp_assign_source_7 = DICT_GET_ITEM1(tstate, tmp_dict_arg_value_2, tmp_key_value_2); 858         tmp_assign_source_7 = DICT_GET_ITEM1(tstate, tmp_dict_arg_value_2, tmp_key_value_2);
937         if (tmp_assign_source_7 == NULL) { 859         if (tmp_assign_source_7 == NULL) {
938             tmp_assign_source_7 = Py_None; 860             tmp_assign_source_7 = Py_None;
939             Py_INCREF(tmp_assign_source_7); 861             Py_INCREF(tmp_assign_source_7);
940         } 862         }
955         PyObject *tmp_args_element_value_2; 877         PyObject *tmp_args_element_value_2;
956         PyObject *tmp_args_element_value_3; 878         PyObject *tmp_args_element_value_3;
957         CHECK_OBJECT(tmp_class_creation_1__metaclass); 879         CHECK_OBJECT(tmp_class_creation_1__metaclass);
958         tmp_called_value_1 = tmp_class_creation_1__metaclass; 880         tmp_called_value_1 = tmp_class_creation_1__metaclass;
959         tmp_args_element_value_1 = mod_consts[0]; 881         tmp_args_element_value_1 = mod_consts[0];
n 960         tmp_args_element_value_2 = mod_consts[11]; n 882         tmp_args_element_value_2 = mod_consts[10];
961         CHECK_OBJECT(tmp_class_creation_1__class_dict); 883         CHECK_OBJECT(tmp_class_creation_1__class_dict);
962         tmp_args_element_value_3 = tmp_class_creation_1__class_dict; 884         tmp_args_element_value_3 = tmp_class_creation_1__class_dict;
963         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 9; 885         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 9;
964         { 886         {
965             PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3}; 887             PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
1025         PyObject *tmp_assign_source_10; 947         PyObject *tmp_assign_source_10;
1026 948
1027 949
1028         tmp_assign_source_10 = MAKE_FUNCTION___main__$$$function__2_calledRepeatedly(); 950         tmp_assign_source_10 = MAKE_FUNCTION___main__$$$function__2_calledRepeatedly();
1029 951
n 1030         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[12], tmp_assign_source_10); n 952         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_10);
1031     } 953     }
1032     { 954     {
1033         PyObject *tmp_assign_source_11; 955         PyObject *tmp_assign_source_11;
1034         PyObject *tmp_iter_arg_1; 956         PyObject *tmp_iter_arg_1;
1035         PyObject *tmp_called_instance_1; 957         PyObject *tmp_called_instance_1;
n 1036         tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[7]); n 958         tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[5]);
1037 959
1038         if (unlikely(tmp_called_instance_1 == NULL)) { 960         if (unlikely(tmp_called_instance_1 == NULL)) {
n 1039             tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[7]); n 961             tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[5]);
1040         } 962         }
1041 963
1042         if (tmp_called_instance_1 == NULL) { 964         if (tmp_called_instance_1 == NULL) {
1043             assert(HAS_ERROR_OCCURRED(tstate)); 965             assert(HAS_ERROR_OCCURRED(tstate));
1044 966
1051         } 973         }
1052         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 29; 974         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 29;
1053         tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( 975         tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2(
1054             tstate, 976             tstate,
1055             tmp_called_instance_1, 977             tmp_called_instance_1,
n 1056             mod_consts[13], n 978             mod_consts[12],
1057             &PyTuple_GET_ITEM(mod_consts[14], 0) 979             &PyTuple_GET_ITEM(mod_consts[13], 0)
1058         ); 980         );
1059 981
1060         if (tmp_iter_arg_1 == NULL) { 982         if (tmp_iter_arg_1 == NULL) {
1061             assert(HAS_ERROR_OCCURRED(tstate)); 983             assert(HAS_ERROR_OCCURRED(tstate));
1062 984
1112     } 1034     }
1113     { 1035     {
1114         PyObject *tmp_assign_source_13; 1036         PyObject *tmp_assign_source_13;
1115         CHECK_OBJECT(tmp_for_loop_1__iter_value); 1037         CHECK_OBJECT(tmp_for_loop_1__iter_value);
1116         tmp_assign_source_13 = tmp_for_loop_1__iter_value; 1038         tmp_assign_source_13 = tmp_for_loop_1__iter_value;
n 1117         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_13); n 1039         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_13);
1118     } 1040     }
1119     { 1041     {
1120         PyObject *tmp_called_value_2; 1042         PyObject *tmp_called_value_2;
1121         PyObject *tmp_call_result_1; 1043         PyObject *tmp_call_result_1;
n 1122         tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[12]); n 1044         tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[11]);
1123 1045
1124         if (unlikely(tmp_called_value_2 == NULL)) { 1046         if (unlikely(tmp_called_value_2 == NULL)) {
n 1125             tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[12]); n 1047             tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[11]);
1126         } 1048         }
1127 1049
1128         if (tmp_called_value_2 == NULL) { 1050         if (tmp_called_value_2 == NULL) {
1129             assert(HAS_ERROR_OCCURRED(tstate)); 1051             assert(HAS_ERROR_OCCURRED(tstate));
1130 1052
1193     Py_DECREF(tmp_for_loop_1__for_iterator); 1115     Py_DECREF(tmp_for_loop_1__for_iterator);
1194     tmp_for_loop_1__for_iterator = NULL; 1116     tmp_for_loop_1__for_iterator = NULL;
1195     { 1117     {
1196         PyObject *tmp_called_value_3; 1118         PyObject *tmp_called_value_3;
1197         PyObject *tmp_call_result_2; 1119         PyObject *tmp_call_result_2;
n 1198         tmp_called_value_3 = LOOKUP_BUILTIN(mod_consts[16]); n 1120         tmp_called_value_3 = LOOKUP_BUILTIN(mod_consts[15]);
1199         assert(tmp_called_value_3 != NULL); 1121         assert(tmp_called_value_3 != NULL);
1200         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 32; 1122         frame_a4f956db0b6df061899d5d312c920b96->m_frame.f_lineno = 32;
t 1201         tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tstate, tmp_called_value_3, mod_consts[17]); t 1123         tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tstate, tmp_called_value_3, mod_consts[16]);
1202 1124
1203         if (tmp_call_result_2 == NULL) { 1125         if (tmp_call_result_2 == NULL) {
1204             assert(HAS_ERROR_OCCURRED(tstate)); 1126             assert(HAS_ERROR_OCCURRED(tstate));
1205 1127
1206             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); 1128             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);