]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
RTR Server: Clean up clients array after every poll
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 29 Jul 2021 20:55:20 +0000 (15:55 -0500)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Thu, 29 Jul 2021 21:18:18 +0000 (16:18 -0500)
commit2e42780fcf6c6a34a9fa0df2b26d2c4c919eb80e
treee12784bb472ac45f70e3cc18d42eb75350f97e4b
parentfd47e886756ab5c3393a494bce249b97ee4c3ae0
RTR Server: Clean up clients array after every poll

This was a pending optimization from commit
23478fdff80e8ceeaeeaffc71880f950b3c71104.

In truth, this data structure should technically be a linked list.
But I'm not sure if sacrificing cache locality for faster removal is
worth the tradeoff.
src/rtr/rtr.c