On Mon, Aug 29, 2022 at 07:44:33PM +0200, Theo Buehler wrote:
> On Mon, Aug 29, 2022 at 07:28:58PM +0200, Claudio Jeker wrote:
> > This diff removes the aspath cache. I tried replacing it with an RB tree
> > but it still consumes a lot of CPU cycles for little gain. So instead just
> > copy the asp
On Mon, Aug 29, 2022 at 07:28:58PM +0200, Claudio Jeker wrote:
> This diff removes the aspath cache. I tried replacing it with an RB tree
> but it still consumes a lot of CPU cycles for little gain. So instead just
> copy the aspath for all rde_aspath structs. It will use more memory but in
> most
This diff removes the aspath cache. I tried replacing it with an RB tree
but it still consumes a lot of CPU cycles for little gain. So instead just
copy the aspath for all rde_aspath structs. It will use more memory but in
most cases the amount is in the 20-30% order.
This also includes a lot of f