Open michaelortmann opened 5 years ago
I see trace-Functions and related functions called to many times, for example during startup of a bot:
https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/server.mod/server.c#L1368 5 times https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/server.mod/server.c#L1330 6 times https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/irc.mod/irc.c#L1019 3 times
It's not really a bug, but a waste of CPU.
Looks like we set TCL_TRACE_READS too often.
I see trace-Functions and related functions called to many times, for example during startup of a bot:
https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/server.mod/server.c#L1368 5 times https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/server.mod/server.c#L1330 6 times https://github.com/eggheads/eggdrop/tree/cbb5dad2566a2b57d6cb8574724433b80827441d/src/mod/irc.mod/irc.c#L1019 3 times
It's not really a bug, but a waste of CPU.