О(log n^2) config parser time regression in 2.0.11

Ondrej Zajicek santiago at crfreenet.org
Wed Apr 26 04:22:48 CEST 2023


On Wed, Apr 26, 2023 at 12:28:59AM +0300, Yanko Kaneti wrote:
> Hello,
> 
> The recent bird1 EOL announcement nudged me to try a 1 to 1 (or close to
> it) migration of a legacy 1.6 config to 2.0. Without using any of the
> fancy new 2.0 features to keep things lazy.
> 
> The old config has a giant 100M generated case statement in a function.
> Turns out with 2.0.11 and later (bisected to 
> 
>     1ac8e11b: Filter: Implement mixed declarations of local variables

Hello

Thanks for a thorough bugreport. I will check this soon.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."



More information about the Bird-users mailing list