0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-11 17:08:46 +00:00
Jan Maria Matejka dae0ea9b0e Trie optimizer
This patch optimizes prefix sets like
  [ 10.0.0.0/24, 10.0.1.0/24, 10.0.2.0/24, 10.0.3.0/24 ]
into
  [ 10.0.0.0/22{24,24} ]

This should improve config loading speed with large config files.

Works only in config-check mode; the appropriate flag is -O.
Beware. The output is written directly on stdout.

This patch is not intended to be ever merged with mainline in this form.
Instead, we should fix bad lexer performance and also merge the
merge-able prefixes on-the-fly during trie creation. Ultimately,
we should have better possibility to feed database-like structures into
BIRD instead of config file.
2018-09-12 15:32:21 +02:00
..
2018-09-12 15:32:21 +02:00
2018-09-12 15:32:21 +02:00
2009-03-31 12:55:57 +02:00
2009-03-31 12:55:57 +02:00
2017-11-09 15:04:05 +01:00
2000-06-01 08:32:49 +00:00
2016-11-08 17:46:29 +01:00
2018-09-12 15:32:21 +02:00