compile sim with ofast
This commit is contained in:
parent
c73fea8cca
commit
1d465b09f7
@ -1,2 +1,2 @@
|
||||
gcc compiled_sim.c -shared -o compiled_sim.dll -Wall -Werror
|
||||
gcc compiled_sim.c -shared -o compiled_sim.dll -Wall -Werror -Ofast
|
||||
pause
|
||||
|
Binary file not shown.
@ -212,6 +212,7 @@ function Group.mergeinto(group, group2)
|
||||
end
|
||||
|
||||
-- Logic Critical
|
||||
-- Now implemented in C
|
||||
--function Group.update_c(cnet, tick)
|
||||
-- local state = cnet.state_num[0]>0 and 1 or 0
|
||||
-- if state ~= cnet.state[0] then
|
||||
|
@ -350,6 +350,7 @@ end
|
||||
|
||||
-- Logic Critical
|
||||
function Simulation.ticklogic(sim)
|
||||
-- Now implemented in C
|
||||
--for i = 0, sim.num_groupqueue[0]-1 do
|
||||
-- local cnet = sim.groupqueue[i]
|
||||
-- Group.update_c(cnet, sim.current_tick[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user