Skip to main content

Ein Standardverfahren zur schnellen Suche — Hashing

  • Chapter
Programmieren mit ELAN

Part of the book series: MikroComputer-Praxis ((MCP))

  • 15 Accesses

Zusammenfassung

Das im vorigen Kapitel entwickelte Korrekturhilfesystem ist sehr langsam, weil das Lexikonpaket ineffizient programmiert ist. Die dort eingesetzte lineare Suche braucht bei ziemlich vollem Lexikon durchschnittlich 500 Vergleiche, um ein bekanntes Wort zu finden, und fast 1000 Durchläufe um festzustellen, daß ein Wort unbekannt ist. Die binäre Suche (s. Kap.15) würde das Verfahren erheblich beschleunigen: Pro Suchvorgang wären höchstens log2 (1000) = 10 Vergleiche notwendig. Sie hat aber den schwerwiegenden Nachteil, daß ein sortiertes Lexikon vorausgesetzt wird, in dem Einfügungen neuer Wörter verhältnismäßig aufwendig sind.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 1983 B. G. Teubner, Stuttgart

About this chapter

Cite this chapter

Klingen, L.H., Liedtke, J. (1983). Ein Standardverfahren zur schnellen Suche — Hashing. In: Klingen, L.H., Liedtke, J. (eds) Programmieren mit ELAN. MikroComputer-Praxis. Vieweg+Teubner Verlag, Wiesbaden. https://doi.org/10.1007/978-3-322-96681-0_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-322-96681-0_19

  • Publisher Name: Vieweg+Teubner Verlag, Wiesbaden

  • Print ISBN: 978-3-519-02507-8

  • Online ISBN: 978-3-322-96681-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics