Frage

Eine patricia trie ist die wohlbekannte, empfohlene Daten Struktur für Zuweisungen / Zuweisungen IPv4 Speichern und Ausführen Lookup.

Ist das wahr für zu IPv6 adddresses? Nur ein tiefer / höher trie die zusätzlichen 96 Bits aufzunehmen? Ist die Trie noch patricia, oder eine andere radix Trie?

War es hilfreich?

Lösung

You can still use Patricia tries with a bigger depth, but the problem is the performance degrades linearly with the trie depth. Designing specialized data structures for IPv6 lookup is an active field. Recent publications include:

I don't know of any available (open source) implementations of these data structures.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top