### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
Original: { 
print 2 * g1, tbl_c_of_c[2];
print benign(4);
print 2 * g1, tbl_c_of_c[2];
print safe_bif();
print 2 * g1, tbl_c_of_c[2];
print dangerous_bif();
print 2 * g1, tbl_c_of_c[2];
print 2 * g1, tbl_c_of_c[2];
} <...>/AST-side-effects.zeek, lines 90-106
Transformed: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
print <internal>::#0, <internal>::#1;
<internal>::#2 = benign(4);
print <internal>::#2;
<internal>::#3 = 2 * g1;
<internal>::#4 = tbl_c_of_c[2];
print <internal>::#3, <internal>::#4;
<internal>::#5 = safe_bif();
print <internal>::#5;
<internal>::#6 = 2 * g1;
<internal>::#7 = tbl_c_of_c[2];
print <internal>::#6, <internal>::#7;
<internal>::#8 = dangerous_bif();
print <internal>::#8;
<internal>::#9 = 2 * g1;
<internal>::#10 = tbl_c_of_c[2];
print <internal>::#9, <internal>::#10;
<internal>::#11 = 2 * g1;
<internal>::#12 = tbl_c_of_c[2];
print <internal>::#11, <internal>::#12;
} <...>/AST-side-effects.zeek, lines 90-106
Optimized: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
print <internal>::#0, <internal>::#1;
<internal>::#2 = benign(4);
print <internal>::#2;
print <internal>::#0, <internal>::#1;
<internal>::#5 = safe_bif();
print <internal>::#5;
print <internal>::#0, <internal>::#1;
<internal>::#8 = dangerous_bif();
print <internal>::#8;
<internal>::#9 = 2 * g1;
<internal>::#10 = tbl_c_of_c[2];
print <internal>::#9, <internal>::#10;
print <internal>::#9, <internal>::#10;
} <...>/AST-side-effects.zeek, lines 90-106
Post removal of unused: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
print <internal>::#0, <internal>::#1;
<internal>::#2 = benign(4);
print <internal>::#2;
print <internal>::#0, <internal>::#1;
<internal>::#5 = safe_bif();
print <internal>::#5;
print <internal>::#0, <internal>::#1;
<internal>::#8 = dangerous_bif();
print <internal>::#8;
<internal>::#9 = 2 * g1;
<internal>::#10 = tbl_c_of_c[2];
print <internal>::#9, <internal>::#10;
print <internal>::#9, <internal>::#10;
} <...>/AST-side-effects.zeek, lines 90-106
Original: { 
print 2 * g1, 3 * g2, tbl_c_of_c[2];
print tbl_addr_of_count[1.2.3.4];
print 2 * g1, 3 * g2, tbl_c_of_c[2];
print tbl_addr_of_count[127.0.0.1];
print 2 * g1, 3 * g2, tbl_c_of_c[2];
} <...>/AST-side-effects.zeek, lines 119-128
Transformed: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = 3 * g2;
<internal>::#2 = tbl_c_of_c[2];
print <internal>::#0, <internal>::#1, <internal>::#2;
<internal>::#3 = tbl_addr_of_count[1.2.3.4];
print <internal>::#3;
<internal>::#4 = 2 * g1;
<internal>::#5 = 3 * g2;
<internal>::#6 = tbl_c_of_c[2];
print <internal>::#4, <internal>::#5, <internal>::#6;
<internal>::#7 = tbl_addr_of_count[127.0.0.1];
print <internal>::#7;
<internal>::#8 = 2 * g1;
<internal>::#9 = 3 * g2;
<internal>::#10 = tbl_c_of_c[2];
print <internal>::#8, <internal>::#9, <internal>::#10;
} <...>/AST-side-effects.zeek, lines 119-128
Optimized: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = 3 * g2;
<internal>::#2 = tbl_c_of_c[2];
print <internal>::#0, <internal>::#1, <internal>::#2;
<internal>::#3 = tbl_addr_of_count[1.2.3.4];
print <internal>::#3;
<internal>::#4 = 2 * g1;
print <internal>::#4, <internal>::#1, <internal>::#2;
<internal>::#7 = tbl_addr_of_count[127.0.0.1];
print <internal>::#7;
<internal>::#8 = 2 * g1;
print <internal>::#8, <internal>::#1, <internal>::#2;
} <...>/AST-side-effects.zeek, lines 119-128
Post removal of unused: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = 3 * g2;
<internal>::#2 = tbl_c_of_c[2];
print <internal>::#0, <internal>::#1, <internal>::#2;
<internal>::#3 = tbl_addr_of_count[1.2.3.4];
print <internal>::#3;
<internal>::#4 = 2 * g1;
print <internal>::#4, <internal>::#1, <internal>::#2;
<internal>::#7 = tbl_addr_of_count[127.0.0.1];
print <internal>::#7;
<internal>::#8 = 2 * g1;
print <internal>::#8, <internal>::#1, <internal>::#2;
} <...>/AST-side-effects.zeek, lines 119-128
Original: { 
print tbl_c_of_c[2];
print tbl_c_of_c[2];
tcc_mod[F] = 33;
print tbl_c_of_c[2];
print tbl_c_of_c[2];
mess_is_active = T;
tcc_mod[T] = 66;
print tbl_c_of_c[2];
print tbl_c_of_c[2];
} <...>/AST-side-effects.zeek, lines 153-170
Transformed: { 
<internal>::#0 = tbl_c_of_c[2];
print <internal>::#0;
<internal>::#1 = tbl_c_of_c[2];
print <internal>::#1;
tcc_mod[F] []= 33;
<internal>::#2 = tbl_c_of_c[2];
print <internal>::#2;
<internal>::#3 = tbl_c_of_c[2];
print <internal>::#3;
mess_is_active = T;
tcc_mod[T] []= 66;
<internal>::#4 = tbl_c_of_c[2];
print <internal>::#4;
<internal>::#5 = tbl_c_of_c[2];
print <internal>::#5;
} <...>/AST-side-effects.zeek, lines 153-170
Optimized: { 
<internal>::#0 = tbl_c_of_c[2];
print <internal>::#0;
print <internal>::#0;
tcc_mod[F] []= 33;
<internal>::#2 = tbl_c_of_c[2];
print <internal>::#2;
print <internal>::#2;
mess_is_active = T;
tcc_mod[T] []= 66;
<internal>::#4 = tbl_c_of_c[2];
print <internal>::#4;
print <internal>::#4;
} <...>/AST-side-effects.zeek, lines 153-170
Post removal of unused: { 
<internal>::#0 = tbl_c_of_c[2];
print <internal>::#0;
print <internal>::#0;
tcc_mod[F] []= 33;
<internal>::#2 = tbl_c_of_c[2];
print <internal>::#2;
print <internal>::#2;
mess_is_active = T;
tcc_mod[T] []= 66;
<internal>::#4 = tbl_c_of_c[2];
print <internal>::#4;
print <internal>::#4;
} <...>/AST-side-effects.zeek, lines 153-170
Original: { 
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], tbl_c_of_c2[10];
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], tbl_c_of_c2[10];
local_tbl_c_of_c3 = table(4 = 1, 12 = 0)&default=function(c:count) : count{ 
return (benign(c + 7) - 2);
}, &optional;
print local_tbl_c_of_c3[12];
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], local_tbl_c_of_c3[12];
print local_tbl_c_of_c3[10];
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], local_tbl_c_of_c3[10];
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], local_tbl_c_of_c3[10];
print dangerous_bif();
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], local_tbl_c_of_c3[12];
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], local_tbl_c_of_c3[12], local_tbl_c_of_c3[10];
} <...>/AST-side-effects.zeek, lines 178-204
Transformed: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
<internal>::#2 = tbl_c_of_c2[1];
<internal>::#3 = tbl_c_of_c2[10];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3;
<internal>::#4 = 2 * g1;
<internal>::#5 = tbl_c_of_c[2];
<internal>::#6 = tbl_c_of_c2[1];
<internal>::#7 = tbl_c_of_c2[10];
print <internal>::#4, <internal>::#5, <internal>::#6, <internal>::#7;
local_tbl_c_of_c3 = table(4 = 1, 12 = 0)&default=function(c:count) : count{ 
return (benign(c + 7) - 2);
}, &optional;
<internal>::#8 = local_tbl_c_of_c3[12];
print <internal>::#8;
<internal>::#9 = 2 * g1;
<internal>::#10 = tbl_c_of_c[2];
<internal>::#11 = tbl_c_of_c2[1];
<internal>::#12 = local_tbl_c_of_c3[12];
print <internal>::#9, <internal>::#10, <internal>::#11, <internal>::#12;
<internal>::#13 = local_tbl_c_of_c3[10];
print <internal>::#13;
<internal>::#14 = 2 * g1;
<internal>::#15 = tbl_c_of_c[2];
<internal>::#16 = tbl_c_of_c2[1];
<internal>::#17 = local_tbl_c_of_c3[10];
print <internal>::#14, <internal>::#15, <internal>::#16, <internal>::#17;
<internal>::#18 = 2 * g1;
<internal>::#19 = tbl_c_of_c[2];
<internal>::#20 = tbl_c_of_c2[1];
<internal>::#21 = local_tbl_c_of_c3[10];
print <internal>::#18, <internal>::#19, <internal>::#20, <internal>::#21;
<internal>::#22 = dangerous_bif();
print <internal>::#22;
<internal>::#23 = 2 * g1;
<internal>::#24 = tbl_c_of_c[2];
<internal>::#25 = tbl_c_of_c2[1];
<internal>::#26 = local_tbl_c_of_c3[12];
print <internal>::#23, <internal>::#24, <internal>::#25, <internal>::#26;
<internal>::#27 = 2 * g1;
<internal>::#28 = tbl_c_of_c[2];
<internal>::#29 = tbl_c_of_c2[1];
<internal>::#30 = local_tbl_c_of_c3[12];
<internal>::#31 = local_tbl_c_of_c3[10];
print <internal>::#27, <internal>::#28, <internal>::#29, <internal>::#30, <internal>::#31;
} <...>/AST-side-effects.zeek, lines 178-204
Optimized: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
<internal>::#2 = tbl_c_of_c2[1];
<internal>::#3 = tbl_c_of_c2[10];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3;
local_tbl_c_of_c3 = table(4 = 1, 12 = 0)&default=function(c:count) : count{ 
return (benign(c + 7) - 2);
}, &optional;
<internal>::#8 = local_tbl_c_of_c3[12];
print <internal>::#8;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#8;
<internal>::#13 = local_tbl_c_of_c3[10];
print <internal>::#13;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#13;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#13;
<internal>::#22 = dangerous_bif();
print <internal>::#22;
<internal>::#23 = 2 * g1;
<internal>::#24 = tbl_c_of_c[2];
<internal>::#25 = tbl_c_of_c2[1];
<internal>::#26 = local_tbl_c_of_c3[12];
print <internal>::#23, <internal>::#24, <internal>::#25, <internal>::#26;
<internal>::#31 = local_tbl_c_of_c3[10];
print <internal>::#23, <internal>::#24, <internal>::#25, <internal>::#26, <internal>::#31;
} <...>/AST-side-effects.zeek, lines 178-204
Post removal of unused: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
<internal>::#2 = tbl_c_of_c2[1];
<internal>::#3 = tbl_c_of_c2[10];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3;
local_tbl_c_of_c3 = table(4 = 1, 12 = 0)&default=function(c:count) : count{ 
return (benign(c + 7) - 2);
}, &optional;
<internal>::#8 = local_tbl_c_of_c3[12];
print <internal>::#8;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#8;
<internal>::#13 = local_tbl_c_of_c3[10];
print <internal>::#13;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#13;
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#13;
<internal>::#22 = dangerous_bif();
print <internal>::#22;
<internal>::#23 = 2 * g1;
<internal>::#24 = tbl_c_of_c[2];
<internal>::#25 = tbl_c_of_c2[1];
<internal>::#26 = local_tbl_c_of_c3[12];
print <internal>::#23, <internal>::#24, <internal>::#25, <internal>::#26;
<internal>::#31 = local_tbl_c_of_c3[10];
print <internal>::#23, <internal>::#24, <internal>::#25, <internal>::#26, <internal>::#31;
} <...>/AST-side-effects.zeek, lines 178-204
Original: { 
side_effect_free = table(0 = 0.5, 1 = 1.5);
print side_effect_free[1];
print side_effect_free[1];
has_side_effects = table(0 = -0.5, 1 = -1.5)&default_insert=function(c:count) : double{ 
my_exponential = my_exponential * my_exponential;
return (my_exponential);
};
print side_effect_free[1], has_side_effects[2];
print side_effect_free[1], has_side_effects[2];
} <...>/AST-side-effects.zeek, lines 213-238
Transformed: { 
side_effect_free = table(0 = 0.5, 1 = 1.5);
<internal>::#0 = side_effect_free[1];
print <internal>::#0;
<internal>::#1 = side_effect_free[1];
print <internal>::#1;
has_side_effects = table(0 = -0.5, 1 = -1.5)&default_insert=function(c:count) : double{ 
my_exponential = my_exponential * my_exponential;
return (my_exponential);
};
<internal>::#2 = side_effect_free[1];
<internal>::#3 = has_side_effects[2];
print <internal>::#2, <internal>::#3;
<internal>::#4 = side_effect_free[1];
<internal>::#5 = has_side_effects[2];
print <internal>::#4, <internal>::#5;
} <...>/AST-side-effects.zeek, lines 213-238
Optimized: { 
side_effect_free = table(0 = 0.5, 1 = 1.5);
<internal>::#0 = side_effect_free[1];
print <internal>::#0;
<internal>::#1 = side_effect_free[1];
print <internal>::#1;
has_side_effects = table(0 = -0.5, 1 = -1.5)&default_insert=function(c:count) : double{ 
my_exponential = my_exponential * my_exponential;
return (my_exponential);
};
<internal>::#2 = side_effect_free[1];
<internal>::#3 = has_side_effects[2];
print <internal>::#2, <internal>::#3;
<internal>::#4 = side_effect_free[1];
<internal>::#5 = has_side_effects[2];
print <internal>::#4, <internal>::#5;
} <...>/AST-side-effects.zeek, lines 213-238
Post removal of unused: { 
side_effect_free = table(0 = 0.5, 1 = 1.5);
<internal>::#0 = side_effect_free[1];
print <internal>::#0;
<internal>::#1 = side_effect_free[1];
print <internal>::#1;
has_side_effects = table(0 = -0.5, 1 = -1.5)&default_insert=function(c:count) : double{ 
my_exponential = my_exponential * my_exponential;
return (my_exponential);
};
<internal>::#2 = side_effect_free[1];
<internal>::#3 = has_side_effects[2];
print <internal>::#2, <internal>::#3;
<internal>::#4 = side_effect_free[1];
<internal>::#5 = has_side_effects[2];
print <internal>::#4, <internal>::#5;
} <...>/AST-side-effects.zeek, lines 213-238
Original: { 
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], tbl_c_of_b[100], tbl_s_of_s[4];
print 2 * g1, tbl_c_of_c[2], tbl_c_of_c2[1], tbl_c_of_b[100], tbl_s_of_s[4];
print table(11 = F)&default=function(c:count) : bool{ 
tbl_s_of_s2[2] = two;
return (sizeof tbl_s_of_s2 < 9);
}, &optional;
} <...>/AST-side-effects.zeek, lines 247-261
Transformed: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
<internal>::#2 = tbl_c_of_c2[1];
<internal>::#3 = tbl_c_of_b[100];
<internal>::#4 = tbl_s_of_s[4];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3, <internal>::#4;
<internal>::#5 = 2 * g1;
<internal>::#6 = tbl_c_of_c[2];
<internal>::#7 = tbl_c_of_c2[1];
<internal>::#8 = tbl_c_of_b[100];
<internal>::#9 = tbl_s_of_s[4];
print <internal>::#5, <internal>::#6, <internal>::#7, <internal>::#8, <internal>::#9;
<internal>::#10 = table(11 = F)&default=function(c:count) : bool{ 
tbl_s_of_s2[2] = two;
return (sizeof tbl_s_of_s2 < 9);
}, &optional;
print <internal>::#10;
} <...>/AST-side-effects.zeek, lines 247-261
Optimized: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
<internal>::#2 = tbl_c_of_c2[1];
<internal>::#3 = tbl_c_of_b[100];
<internal>::#4 = tbl_s_of_s[4];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3, <internal>::#4;
<internal>::#8 = tbl_c_of_b[100];
<internal>::#9 = tbl_s_of_s[4];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#8, <internal>::#9;
<internal>::#10 = table(11 = F)&default=function(c:count) : bool{ 
tbl_s_of_s2[2] = two;
return (sizeof tbl_s_of_s2 < 9);
}, &optional;
print <internal>::#10;
} <...>/AST-side-effects.zeek, lines 247-261
Post removal of unused: { 
<internal>::#0 = 2 * g1;
<internal>::#1 = tbl_c_of_c[2];
<internal>::#2 = tbl_c_of_c2[1];
<internal>::#3 = tbl_c_of_b[100];
<internal>::#4 = tbl_s_of_s[4];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#3, <internal>::#4;
<internal>::#8 = tbl_c_of_b[100];
<internal>::#9 = tbl_s_of_s[4];
print <internal>::#0, <internal>::#1, <internal>::#2, <internal>::#8, <internal>::#9;
<internal>::#10 = table(11 = F)&default=function(c:count) : bool{ 
tbl_s_of_s2[2] = two;
return (sizeof tbl_s_of_s2 < 9);
}, &optional;
print <internal>::#10;
} <...>/AST-side-effects.zeek, lines 247-261
Original: { 
print tbl_s_of_s[4];
print tbl_s_of_s[4];
force_tbl_c_of_c_str_reload = R1($b=match-on-type-of-tbl_c_of_c);
print force_tbl_c_of_c_str_reload;
print tbl_s_of_s[4];
print tbl_s_of_s[4];
problem_r2 = R2($b=hello);
print tbl_s_of_s[4], problem_r2$b;
problem_r3 = R3($b=hello again);
print tbl_s_of_s[4], problem_r3$b;
} <...>/AST-side-effects.zeek, lines 306-336
Transformed: { 
<internal>::#0 = tbl_s_of_s[4];
print <internal>::#0;
<internal>::#1 = tbl_s_of_s[4];
print <internal>::#1;
force_tbl_c_of_c_str_reload = R1($b=match-on-type-of-tbl_c_of_c);
print force_tbl_c_of_c_str_reload;
<internal>::#2 = tbl_s_of_s[4];
print <internal>::#2;
<internal>::#3 = tbl_s_of_s[4];
print <internal>::#3;
problem_r2 = R2($b=hello);
<internal>::#4 = tbl_s_of_s[4];
<internal>::#5 = problem_r2$b;
print <internal>::#4, <internal>::#5;
problem_r3 = R3($b=hello again);
<internal>::#6 = tbl_s_of_s[4];
<internal>::#7 = problem_r3$b;
print <internal>::#6, <internal>::#7;
} <...>/AST-side-effects.zeek, lines 306-336
Optimized: { 
<internal>::#0 = tbl_s_of_s[4];
print <internal>::#0;
print <internal>::#0;
force_tbl_c_of_c_str_reload = R1($b=match-on-type-of-tbl_c_of_c);
print force_tbl_c_of_c_str_reload;
<internal>::#2 = tbl_s_of_s[4];
print <internal>::#2;
print <internal>::#2;
problem_r2 = R2($b=hello);
<internal>::#4 = tbl_s_of_s[4];
<internal>::#5 = problem_r2$b;
print <internal>::#4, <internal>::#5;
problem_r3 = R3($b=hello again);
<internal>::#7 = problem_r3$b;
print <internal>::#4, <internal>::#7;
} <...>/AST-side-effects.zeek, lines 306-336
Post removal of unused: { 
<internal>::#0 = tbl_s_of_s[4];
print <internal>::#0;
print <internal>::#0;
force_tbl_c_of_c_str_reload = R1($b=match-on-type-of-tbl_c_of_c);
print force_tbl_c_of_c_str_reload;
<internal>::#2 = tbl_s_of_s[4];
print <internal>::#2;
print <internal>::#2;
problem_r2 = R2($b=hello);
<internal>::#4 = tbl_s_of_s[4];
<internal>::#5 = problem_r2$b;
print <internal>::#4, <internal>::#5;
problem_r3 = R3($b=hello again);
<internal>::#7 = problem_r3$b;
print <internal>::#4, <internal>::#7;
} <...>/AST-side-effects.zeek, lines 306-336
Original: { 
print 5 * g2;
print 5 * g2;
l1 = table(1, 3 = 4, 2, 5 = 6)&default=function(i1:count, i2:count) : count{ 
my_tbl = table(1.0, 3.0 = 10000.0);
return (double_to_count(my_tbl[1.0, 3.0]));
}, &optional;
l2 = table(1.0, 3.0 = 4.0, 2.0, 5.0 = 6.0)&default=function(d1:double, d2:double) : double{ 
my_tbl = table(1, 3 = 1000);
return ((coerce my_tbl[1, 3] to double));
}, &optional;
print 5 * g2;
print 5 * g2;
print l1[3, 8];
print 5 * g2;
print 5 * g2;
print l2[2.0, 5.0];
print 5 * g2;
print 5 * g2;
} <...>/AST-side-effects.zeek, lines 341-390
Transformed: { 
<internal>::#0 = 5 * g2;
print <internal>::#0;
<internal>::#1 = 5 * g2;
print <internal>::#1;
l1 = table(1, 3 = 4, 2, 5 = 6)&default=function(i1:count, i2:count) : count{ 
my_tbl = table(1.0, 3.0 = 10000.0);
return (double_to_count(my_tbl[1.0, 3.0]));
}, &optional;
l2 = table(1.0, 3.0 = 4.0, 2.0, 5.0 = 6.0)&default=function(d1:double, d2:double) : double{ 
my_tbl = table(1, 3 = 1000);
return ((coerce my_tbl[1, 3] to double));
}, &optional;
<internal>::#2 = 5 * g2;
print <internal>::#2;
<internal>::#3 = 5 * g2;
print <internal>::#3;
<internal>::#4 = l1[3, 8];
print <internal>::#4;
<internal>::#5 = 5 * g2;
print <internal>::#5;
<internal>::#6 = 5 * g2;
print <internal>::#6;
<internal>::#7 = l2[2.0, 5.0];
print <internal>::#7;
<internal>::#8 = 5 * g2;
print <internal>::#8;
<internal>::#9 = 5 * g2;
print <internal>::#9;
} <...>/AST-side-effects.zeek, lines 341-390
Optimized: { 
<internal>::#0 = 5 * g2;
print <internal>::#0;
print <internal>::#0;
l1 = table(1, 3 = 4, 2, 5 = 6)&default=function(i1:count, i2:count) : count{ 
my_tbl = table(1.0, 3.0 = 10000.0);
return (double_to_count(my_tbl[1.0, 3.0]));
}, &optional;
l2 = table(1.0, 3.0 = 4.0, 2.0, 5.0 = 6.0)&default=function(d1:double, d2:double) : double{ 
my_tbl = table(1, 3 = 1000);
return ((coerce my_tbl[1, 3] to double));
}, &optional;
print <internal>::#0;
print <internal>::#0;
<internal>::#4 = l1[3, 8];
print <internal>::#4;
<internal>::#5 = 5 * g2;
print <internal>::#5;
print <internal>::#5;
<internal>::#7 = l2[2.0, 5.0];
print <internal>::#7;
<internal>::#8 = 5 * g2;
print <internal>::#8;
print <internal>::#8;
} <...>/AST-side-effects.zeek, lines 341-390
Post removal of unused: { 
<internal>::#0 = 5 * g2;
print <internal>::#0;
print <internal>::#0;
l1 = table(1, 3 = 4, 2, 5 = 6)&default=function(i1:count, i2:count) : count{ 
my_tbl = table(1.0, 3.0 = 10000.0);
return (double_to_count(my_tbl[1.0, 3.0]));
}, &optional;
l2 = table(1.0, 3.0 = 4.0, 2.0, 5.0 = 6.0)&default=function(d1:double, d2:double) : double{ 
my_tbl = table(1, 3 = 1000);
return ((coerce my_tbl[1, 3] to double));
}, &optional;
print <internal>::#0;
print <internal>::#0;
<internal>::#4 = l1[3, 8];
print <internal>::#4;
<internal>::#5 = 5 * g2;
print <internal>::#5;
print <internal>::#5;
<internal>::#7 = l2[2.0, 5.0];
print <internal>::#7;
<internal>::#8 = 5 * g2;
print <internal>::#8;
print <internal>::#8;
} <...>/AST-side-effects.zeek, lines 341-390
8, 3
7
8, 3
28
8, 3
3
8, 456
8, 456
8, 132, 456
1001
8, 132, 456
5
10, 132, 456
456
456
456
456
999
999
10, 999, 4, 13
10, 999, 4, 13
0
10, 999, 4, 0
18
10, 999, 4, 18
10, 999, 4, 18
999
10, 456, 4, 0
10, 456, 4, 0, 18
1.5
1.5
1.5, 4.0
1.5, 4.0
10, 456, 4, F, 8
10, 456, 4, F, 8
{
[11] = F
}
8
8
[a=3, b=match-on-type-of-tbl_c_of_c]
8
8
8, hello
8, hello again
220
220
220
220
10000
220
220
6.0
220
220
