Construct CallCompiledObjectMethodPosArgsConstant6

Performance Diagrams

Construct CallCompiledObjectMethodPosArgsConstant6 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000CPython 3.10Nuitka (main)Nuitka (develop)Nuitka (factory)20249174088.11538461538461257.0CPython 3.1076869379240.03846153846155410.306095620531Nuitka (main)76868575391.96153846153845410.30707680015456Nuitka (develop)76869379543.8846153846154410.306095620531Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant6Ticks Construct CallCompiledObjectMethodPosArgsConstant6 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000CPython 3.8Nuitka (main)Nuitka (develop)Nuitka (factory)17917597888.11538461538461257.0CPython 3.871765575240.03846153846155405.13795546319534Nuitka (main)71769501391.96153846153845405.1325408143633Nuitka (develop)71765575543.8846153846154405.13795546319534Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant6Ticks Construct CallCompiledObjectMethodPosArgsConstant6 002000000020000000400000004000000060000000600000008000000080000000100000000100000000120000000120000000140000000140000000160000000160000000180000000180000000200000000200000000CPython 2.7Nuitka (main)Nuitka (develop)Nuitka (factory)21930735088.11538461538461257.0CPython 2.771012383240.03846153846155424.0986759300624Nuitka (main)71011389391.96153846153845424.0997959686398Nuitka (develop)71012383543.8846153846154424.0986759300624Nuitka (factory)Construct CallCompiledObjectMethodPosArgsConstant6Ticks

Source Code with Construct

    inst.compiled_method("some", "random", "values", "to", "check", "call")
    inst.compiled_method("some", "other", "values", "to", "check", "call")
    inst.compiled_method("some", "new", "values", "to", "check", "call")

    # 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", "random", "values", "to", "check", "call") n 20  
21     inst.compiled_method("some", "other", "values", "to", "check", "call") 21  
22     inst.compiled_method("some", "new", "values", "to", "check", "call") 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[24]; 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[24]; 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 < 24; 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 < 24; 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_b08d8d9ebc22101029deb9dad137bea6; 83 static PyCodeObject *codeobj_b08d8d9ebc22101029deb9dad137bea6;
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[6]; CHECK_OBJECT(module_filename_obj); n 88     module_filename_obj = mod_consts[2]; CHECK_OBJECT(module_filename_obj);
89     codeobj_71e736ac4417963f331e01c54f88b173 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[20], mod_consts[20], NULL, NULL, 0, 0, 0); 89     codeobj_71e736ac4417963f331e01c54f88b173 = 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_71e736ac4417963f331e01c54f88b173; 90     codeobj_main = codeobj_71e736ac4417963f331e01c54f88b173;
n 91     codeobj_bdfeb5b54f839ea0f184f0da4d738469 = MAKE_CODE_OBJECT(module_filename_obj, 14, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[14], mod_consts[14], mod_consts[21], NULL, 0, 0, 0); n 91     codeobj_bdfeb5b54f839ea0f184f0da4d738469 = 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_b08d8d9ebc22101029deb9dad137bea6 = MAKE_CODE_OBJECT(module_filename_obj, 10, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_PRINT_FUNCTION, mod_consts[1], mod_consts[22], mod_consts[23], NULL, 7, 0, 0); 92     codeobj_b08d8d9ebc22101029deb9dad137bea6 = 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, 7, 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
182     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; 182     NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
183     PyObject *exception_type = NULL; 183     PyObject *exception_type = NULL;
184     PyObject *exception_value = NULL; 184     PyObject *exception_value = NULL;
185     PyTracebackObject *exception_tb = NULL; 185     PyTracebackObject *exception_tb = NULL;
186     NUITKA_MAY_BE_UNUSED int exception_lineno = 0; 186     NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
n 187     NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; n
188     static struct Nuitka_FrameObject *cache_frame_bdfeb5b54f839ea0f184f0da4d738469 = NULL; 187     static struct Nuitka_FrameObject *cache_frame_bdfeb5b54f839ea0f184f0da4d738469 = NULL;
189     PyObject *tmp_return_value = NULL; 188     PyObject *tmp_return_value = NULL;
190     PyObject *exception_keeper_type_1; 189     PyObject *exception_keeper_type_1;
191     PyObject *exception_keeper_value_1; 190     PyObject *exception_keeper_value_1;
192     PyTracebackObject *exception_keeper_tb_1; 191     PyTracebackObject *exception_keeper_tb_1;
252             type_description_1 = "o"; 251             type_description_1 = "o";
253             goto frame_exception_exit_1; 252             goto frame_exception_exit_1;
254         } 253         }
255         assert(var_inst == NULL); 254         assert(var_inst == NULL);
256         var_inst = tmp_assign_source_1; 255         var_inst = tmp_assign_source_1;
n 257     } n
258     {
259         PyObject *tmp_called_instance_1;
260         PyObject *tmp_call_result_1;
261         CHECK_OBJECT(var_inst);
262         tmp_called_instance_1 = var_inst;
263         frame_bdfeb5b54f839ea0f184f0da4d738469->m_frame.f_lineno = 20;
264         tmp_call_result_1 = CALL_METHOD_WITH_ARGS6(
265             tstate,
266             tmp_called_instance_1,
267             mod_consts[1],
268             &PyTuple_GET_ITEM(mod_consts[2], 0)
269         );
270  
271         if (tmp_call_result_1 == NULL) {
272             assert(HAS_ERROR_OCCURRED(tstate));
273  
274             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
275  
276  
277             exception_lineno = 20;
278             type_description_1 = "o";
279             goto frame_exception_exit_1;
280         }
281         Py_DECREF(tmp_call_result_1);
282     }
283     {
284         PyObject *tmp_called_instance_2;
285         PyObject *tmp_call_result_2;
286         CHECK_OBJECT(var_inst);
287         tmp_called_instance_2 = var_inst;
288         frame_bdfeb5b54f839ea0f184f0da4d738469->m_frame.f_lineno = 21;
289         tmp_call_result_2 = CALL_METHOD_WITH_ARGS6(
290             tstate,
291             tmp_called_instance_2,
292             mod_consts[1],
293             &PyTuple_GET_ITEM(mod_consts[3], 0)
294         );
295  
296         if (tmp_call_result_2 == NULL) {
297             assert(HAS_ERROR_OCCURRED(tstate));
298  
299             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
300  
301  
302             exception_lineno = 21;
303             type_description_1 = "o";
304             goto frame_exception_exit_1;
305         }
306         Py_DECREF(tmp_call_result_2);
307     }
308     {
309         PyObject *tmp_called_instance_3;
310         PyObject *tmp_call_result_3;
311         CHECK_OBJECT(var_inst);
312         tmp_called_instance_3 = var_inst;
313         frame_bdfeb5b54f839ea0f184f0da4d738469->m_frame.f_lineno = 22;
314         tmp_call_result_3 = CALL_METHOD_WITH_ARGS6(
315             tstate,
316             tmp_called_instance_3,
317             mod_consts[1],
318             &PyTuple_GET_ITEM(mod_consts[4], 0)
319         );
320  
321         if (tmp_call_result_3 == NULL) {
322             assert(HAS_ERROR_OCCURRED(tstate));
323  
324             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);
325  
326  
327             exception_lineno = 22;
328             type_description_1 = "o";
329             goto frame_exception_exit_1;
330         }
331         Py_DECREF(tmp_call_result_3);
332     } 256     }
333 257
334 258
335     // Put the previous frame back on top. 259     // Put the previous frame back on top.
336     popFrameStack(tstate); 260     popFrameStack(tstate);
391     exception_type = NULL; 315     exception_type = NULL;
392     exception_value = NULL; 316     exception_value = NULL;
393     exception_tb = NULL; 317     exception_tb = NULL;
394     exception_lineno = 0; 318     exception_lineno = 0;
395 319
n 396     Py_XDECREF(var_inst); n
397     var_inst = NULL;
398     // Re-raise. 320     // Re-raise.
399     exception_type = exception_keeper_type_1; 321     exception_type = exception_keeper_type_1;
400     exception_value = exception_keeper_value_1; 322     exception_value = exception_keeper_value_1;
401     exception_tb = exception_keeper_tb_1; 323     exception_tb = exception_keeper_tb_1;
402     exception_lineno = exception_keeper_lineno_1; 324     exception_lineno = exception_keeper_lineno_1;
428 350
429 351
430 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_method() { 352 static PyObject *MAKE_FUNCTION___main__$$$function__1_compiled_method() {
431     struct Nuitka_FunctionObject *result = Nuitka_Function_New( 353     struct Nuitka_FunctionObject *result = Nuitka_Function_New(
432         impl___main__$$$function__1_compiled_method, 354         impl___main__$$$function__1_compiled_method,
n 433         mod_consts[1], n 355         mod_consts[6],
434 #if PYTHON_VERSION >= 0x300 356 #if PYTHON_VERSION >= 0x300
435         NULL, 357         NULL,
436 #endif 358 #endif
437         codeobj_b08d8d9ebc22101029deb9dad137bea6, 359         codeobj_b08d8d9ebc22101029deb9dad137bea6,
438         NULL, 360         NULL,
453 375
454 376
455 static PyObject *MAKE_FUNCTION___main__$$$function__2_calledRepeatedly() { 377 static PyObject *MAKE_FUNCTION___main__$$$function__2_calledRepeatedly() {
456     struct Nuitka_FunctionObject *result = Nuitka_Function_New( 378     struct Nuitka_FunctionObject *result = Nuitka_Function_New(
457         impl___main__$$$function__2_calledRepeatedly, 379         impl___main__$$$function__2_calledRepeatedly,
n 458         mod_consts[14], n 380         mod_consts[11],
459 #if PYTHON_VERSION >= 0x300 381 #if PYTHON_VERSION >= 0x300
460         NULL, 382         NULL,
461 #endif 383 #endif
462         codeobj_bdfeb5b54f839ea0f184f0da4d738469, 384         codeobj_bdfeb5b54f839ea0f184f0da4d738469,
463         NULL, 385         NULL,
851 773
852     // Module code. 774     // Module code.
853     { 775     {
854         PyObject *tmp_assign_source_1; 776         PyObject *tmp_assign_source_1;
855         tmp_assign_source_1 = Py_None; 777         tmp_assign_source_1 = Py_None;
n 856         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_1); n 778         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_1);
857     } 779     }
858     { 780     {
859         PyObject *tmp_assign_source_2; 781         PyObject *tmp_assign_source_2;
n 860         tmp_assign_source_2 = mod_consts[6]; n 782         tmp_assign_source_2 = mod_consts[2];
861         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_2); 783         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_2);
862     } 784     }
863     { 785     {
864         PyObject *tmp_assign_source_3; 786         PyObject *tmp_assign_source_3;
865         { 787         {
866             PyObject *hard_module = IMPORT_HARD___FUTURE__(); 788             PyObject *hard_module = IMPORT_HARD___FUTURE__();
n 867             tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tstate, hard_module, mod_consts[8]); n 789             tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tstate, hard_module, mod_consts[4]);
868         } 790         }
869         assert(!(tmp_assign_source_3 == NULL)); 791         assert(!(tmp_assign_source_3 == NULL));
n 870         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_3); n 792         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_3);
871     } 793     }
872     frame_71e736ac4417963f331e01c54f88b173 = MAKE_MODULE_FRAME(codeobj_71e736ac4417963f331e01c54f88b173, module___main__); 794     frame_71e736ac4417963f331e01c54f88b173 = MAKE_MODULE_FRAME(codeobj_71e736ac4417963f331e01c54f88b173, module___main__);
873 795
874     // Push the new frame as the currently active one, and we should be exclusively 796     // Push the new frame as the currently active one, and we should be exclusively
875     // owning it. 797     // owning it.
881         PyObject *tmp_assign_source_4; 803         PyObject *tmp_assign_source_4;
882         PyObject *tmp_name_value_1; 804         PyObject *tmp_name_value_1;
883         PyObject *tmp_globals_arg_value_1; 805         PyObject *tmp_globals_arg_value_1;
884         PyObject *tmp_locals_arg_value_1; 806         PyObject *tmp_locals_arg_value_1;
885         PyObject *tmp_fromlist_value_1; 807         PyObject *tmp_fromlist_value_1;
n 886         tmp_name_value_1 = mod_consts[9]; n 808         tmp_name_value_1 = mod_consts[5];
887         tmp_globals_arg_value_1 = (PyObject *)moduledict___main__; 809         tmp_globals_arg_value_1 = (PyObject *)moduledict___main__;
888         tmp_locals_arg_value_1 = Py_None; 810         tmp_locals_arg_value_1 = Py_None;
889         tmp_fromlist_value_1 = Py_None; 811         tmp_fromlist_value_1 = Py_None;
890         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 6; 812         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 6;
891         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); 813         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);
897 819
898             exception_lineno = 6; 820             exception_lineno = 6;
899 821
900             goto frame_exception_exit_1; 822             goto frame_exception_exit_1;
901         } 823         }
n 902         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[9], tmp_assign_source_4); n 824         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_4);
903     } 825     }
904     { 826     {
905         PyObject *tmp_assign_source_5; 827         PyObject *tmp_assign_source_5;
906         { 828         {
907             PyObject *tmp_assign_source_6; 829             PyObject *tmp_assign_source_6;
914         } 836         }
915         // Tried code: 837         // Tried code:
916         { 838         {
917             PyObject *tmp_dict_key_1; 839             PyObject *tmp_dict_key_1;
918             PyObject *tmp_dict_value_1; 840             PyObject *tmp_dict_value_1;
n 919             tmp_dict_value_1 = mod_consts[10]; n 841             tmp_dict_value_1 = mod_consts[7];
920             tmp_dict_key_1 = mod_consts[11]; 842             tmp_dict_key_1 = mod_consts[8];
921             tmp_assign_source_5 = _PyDict_NewPresized( 2 ); 843             tmp_assign_source_5 = _PyDict_NewPresized( 2 );
922             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1); 844             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1);
923             assert(!(tmp_res != 0)); 845             assert(!(tmp_res != 0));
924             CHECK_OBJECT(tmp_locals___main__$$$class__1_C_9_key_compiled_method); 846             CHECK_OBJECT(tmp_locals___main__$$$class__1_C_9_key_compiled_method);
925             tmp_dict_value_1 = tmp_locals___main__$$$class__1_C_9_key_compiled_method; 847             tmp_dict_value_1 = tmp_locals___main__$$$class__1_C_9_key_compiled_method;
n 926             tmp_dict_key_1 = mod_consts[1]; n 848             tmp_dict_key_1 = mod_consts[6];
927             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1); 849             tmp_res = PyDict_SetItem(tmp_assign_source_5, tmp_dict_key_1, tmp_dict_value_1);
928             assert(!(tmp_res != 0)); 850             assert(!(tmp_res != 0));
929             goto try_return_handler_1; 851             goto try_return_handler_1;
930         } 852         }
931         NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); 853         NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
948         bool tmp_condition_result_1; 870         bool tmp_condition_result_1;
949         PyObject *tmp_key_value_1; 871         PyObject *tmp_key_value_1;
950         PyObject *tmp_dict_arg_value_1; 872         PyObject *tmp_dict_arg_value_1;
951         PyObject *tmp_dict_arg_value_2; 873         PyObject *tmp_dict_arg_value_2;
952         PyObject *tmp_key_value_2; 874         PyObject *tmp_key_value_2;
n 953         tmp_key_value_1 = mod_consts[12]; n 875         tmp_key_value_1 = mod_consts[9];
954         CHECK_OBJECT(tmp_class_creation_1__class_dict); 876         CHECK_OBJECT(tmp_class_creation_1__class_dict);
955         tmp_dict_arg_value_1 = tmp_class_creation_1__class_dict; 877         tmp_dict_arg_value_1 = tmp_class_creation_1__class_dict;
956         tmp_res = DICT_HAS_ITEM(tstate, tmp_dict_arg_value_1, tmp_key_value_1); 878         tmp_res = DICT_HAS_ITEM(tstate, tmp_dict_arg_value_1, tmp_key_value_1);
957         assert(!(tmp_res == -1)); 879         assert(!(tmp_res == -1));
958         tmp_condition_result_1 = (tmp_res != 0) ? true : false; 880         tmp_condition_result_1 = (tmp_res != 0) ? true : false;
962             goto condexpr_false_1; 884             goto condexpr_false_1;
963         } 885         }
964         condexpr_true_1:; 886         condexpr_true_1:;
965         CHECK_OBJECT(tmp_class_creation_1__class_dict); 887         CHECK_OBJECT(tmp_class_creation_1__class_dict);
966         tmp_dict_arg_value_2 = tmp_class_creation_1__class_dict; 888         tmp_dict_arg_value_2 = tmp_class_creation_1__class_dict;
n 967         tmp_key_value_2 = mod_consts[12]; n 889         tmp_key_value_2 = mod_consts[9];
968         tmp_assign_source_7 = DICT_GET_ITEM1(tstate, tmp_dict_arg_value_2, tmp_key_value_2); 890         tmp_assign_source_7 = DICT_GET_ITEM1(tstate, tmp_dict_arg_value_2, tmp_key_value_2);
969         if (tmp_assign_source_7 == NULL) { 891         if (tmp_assign_source_7 == NULL) {
970             tmp_assign_source_7 = Py_None; 892             tmp_assign_source_7 = Py_None;
971             Py_INCREF(tmp_assign_source_7); 893             Py_INCREF(tmp_assign_source_7);
972         } 894         }
987         PyObject *tmp_args_element_value_2; 909         PyObject *tmp_args_element_value_2;
988         PyObject *tmp_args_element_value_3; 910         PyObject *tmp_args_element_value_3;
989         CHECK_OBJECT(tmp_class_creation_1__metaclass); 911         CHECK_OBJECT(tmp_class_creation_1__metaclass);
990         tmp_called_value_1 = tmp_class_creation_1__metaclass; 912         tmp_called_value_1 = tmp_class_creation_1__metaclass;
991         tmp_args_element_value_1 = mod_consts[0]; 913         tmp_args_element_value_1 = mod_consts[0];
n 992         tmp_args_element_value_2 = mod_consts[13]; n 914         tmp_args_element_value_2 = mod_consts[10];
993         CHECK_OBJECT(tmp_class_creation_1__class_dict); 915         CHECK_OBJECT(tmp_class_creation_1__class_dict);
994         tmp_args_element_value_3 = tmp_class_creation_1__class_dict; 916         tmp_args_element_value_3 = tmp_class_creation_1__class_dict;
995         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 9; 917         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 9;
996         { 918         {
997             PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3}; 919             PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
1057         PyObject *tmp_assign_source_10; 979         PyObject *tmp_assign_source_10;
1058 980
1059 981
1060         tmp_assign_source_10 = MAKE_FUNCTION___main__$$$function__2_calledRepeatedly(); 982         tmp_assign_source_10 = MAKE_FUNCTION___main__$$$function__2_calledRepeatedly();
1061 983
n 1062         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_10); n 984         UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_10);
1063     } 985     }
1064     { 986     {
1065         PyObject *tmp_assign_source_11; 987         PyObject *tmp_assign_source_11;
1066         PyObject *tmp_iter_arg_1; 988         PyObject *tmp_iter_arg_1;
1067         PyObject *tmp_called_instance_1; 989         PyObject *tmp_called_instance_1;
n 1068         tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[9]); n 990         tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[5]);
1069 991
1070         if (unlikely(tmp_called_instance_1 == NULL)) { 992         if (unlikely(tmp_called_instance_1 == NULL)) {
n 1071             tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[9]); n 993             tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[5]);
1072         } 994         }
1073 995
1074         if (tmp_called_instance_1 == NULL) { 996         if (tmp_called_instance_1 == NULL) {
1075             assert(HAS_ERROR_OCCURRED(tstate)); 997             assert(HAS_ERROR_OCCURRED(tstate));
1076 998
1083         } 1005         }
1084         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 29; 1006         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 29;
1085         tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( 1007         tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2(
1086             tstate, 1008             tstate,
1087             tmp_called_instance_1, 1009             tmp_called_instance_1,
n 1088             mod_consts[15], n 1010             mod_consts[12],
1089             &PyTuple_GET_ITEM(mod_consts[16], 0) 1011             &PyTuple_GET_ITEM(mod_consts[13], 0)
1090         ); 1012         );
1091 1013
1092         if (tmp_iter_arg_1 == NULL) { 1014         if (tmp_iter_arg_1 == NULL) {
1093             assert(HAS_ERROR_OCCURRED(tstate)); 1015             assert(HAS_ERROR_OCCURRED(tstate));
1094 1016
1144     } 1066     }
1145     { 1067     {
1146         PyObject *tmp_assign_source_13; 1068         PyObject *tmp_assign_source_13;
1147         CHECK_OBJECT(tmp_for_loop_1__iter_value); 1069         CHECK_OBJECT(tmp_for_loop_1__iter_value);
1148         tmp_assign_source_13 = tmp_for_loop_1__iter_value; 1070         tmp_assign_source_13 = tmp_for_loop_1__iter_value;
n 1149         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_13); n 1071         UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_13);
1150     } 1072     }
1151     { 1073     {
1152         PyObject *tmp_called_value_2; 1074         PyObject *tmp_called_value_2;
1153         PyObject *tmp_call_result_1; 1075         PyObject *tmp_call_result_1;
n 1154         tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[14]); n 1076         tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[11]);
1155 1077
1156         if (unlikely(tmp_called_value_2 == NULL)) { 1078         if (unlikely(tmp_called_value_2 == NULL)) {
n 1157             tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[14]); n 1079             tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[11]);
1158         } 1080         }
1159 1081
1160         if (tmp_called_value_2 == NULL) { 1082         if (tmp_called_value_2 == NULL) {
1161             assert(HAS_ERROR_OCCURRED(tstate)); 1083             assert(HAS_ERROR_OCCURRED(tstate));
1162 1084
1225     Py_DECREF(tmp_for_loop_1__for_iterator); 1147     Py_DECREF(tmp_for_loop_1__for_iterator);
1226     tmp_for_loop_1__for_iterator = NULL; 1148     tmp_for_loop_1__for_iterator = NULL;
1227     { 1149     {
1228         PyObject *tmp_called_value_3; 1150         PyObject *tmp_called_value_3;
1229         PyObject *tmp_call_result_2; 1151         PyObject *tmp_call_result_2;
n 1230         tmp_called_value_3 = LOOKUP_BUILTIN(mod_consts[18]); n 1152         tmp_called_value_3 = LOOKUP_BUILTIN(mod_consts[15]);
1231         assert(tmp_called_value_3 != NULL); 1153         assert(tmp_called_value_3 != NULL);
1232         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 32; 1154         frame_71e736ac4417963f331e01c54f88b173->m_frame.f_lineno = 32;
t 1233         tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tstate, tmp_called_value_3, mod_consts[19]); t 1155         tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tstate, tmp_called_value_3, mod_consts[16]);
1234 1156
1235         if (tmp_call_result_2 == NULL) { 1157         if (tmp_call_result_2 == NULL) {
1236             assert(HAS_ERROR_OCCURRED(tstate)); 1158             assert(HAS_ERROR_OCCURRED(tstate));
1237 1159
1238             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); 1160             FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb);