Skip to main content

2015 | OriginalPaper | Buchkapitel

Improved Practical Compact Dynamic Tries

verfasst von : Andreas Poyias, Rajeev Raman

Erschienen in: String Processing and Information Retrieval

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

We consider the problem of implementing a

dynamic trie

with an emphasis on good practical performance. For a trie with

n

nodes with an alphabet of size

$$\sigma $$

, the information-theoretic lower bound is

$$n \log \sigma + O(n)$$

bits. The Bonsai data structure [

1

] supports trie operations in

O

(1) expected time (based on assumptions about the behaviour of hash functions). While its practical speed performance is excellent, its space usage of

$$(1+\epsilon ) n (\log \sigma + O(\log \log n))$$

bits, where

$$\epsilon $$

is any constant

$$> 0$$

, is not asymptotically optimal. We propose an alternative,

m-Bonsai

, that uses

$$(1 + \epsilon ) n (\log \sigma + O(1))$$

bits in expectation, and supports operations in

O

(1) expected time (again based on assumptions about the behaviour of hash functions). We give a heuristic implementation of m-Bonsai which uses considerably less memory and is slightly faster than the original Bonsai.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadaten
Titel
Improved Practical Compact Dynamic Tries
verfasst von
Andreas Poyias
Rajeev Raman
Copyright-Jahr
2015
DOI
https://doi.org/10.1007/978-3-319-23826-5_31

Neuer Inhalt