forked from cz-nic/bird

Replaces the algorithm for building balanced trees.

Changes the time complexity of the algorithm from O(n^2) to O(n*log(n)). This speeds up loading of huge DEC-IX config from 128 s to 15 s. It also makes the code significantly simpler.


Author Ondrej Zajicek Date Commit Parent 14f6aca4
+65 -71
4 changed files
+65 -71
4 changed files