On Thu, 12 May 2005, Brian Grossman wrote: > > OK, here it is. Let me know how it runs for you now. I think high CPU > > load may be inherent although to be fair my spamtrap may not exactly be > > the best test bed for seeing whether you can get low load. > > It does work for me. I think I saw a cpu load drop with the @ToClose > change, but not with the PLC change. I have PLCs registered almost > constantly from new connections that use check_earlytalker.
Ah fair enough. I wonder if it wouldn't be faster to have an external hash of PLCs that gets cleared on DESTROY. Then we don't have to iterate through every single connection.
