Skip to main content

Execution Efficiency of a Sequential, Multi-Threaded, and a Parallel Search for a Structured Data in a Symbol Table Implemented in a Binary Search Tree, an Array, and in a Linked List

  • Conference paper
  • First Online:
Recent Advances in Technology Research and Education (Inter-Academia 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 939))

Included in the following conference series:

  • 30 Accesses

Abstract

A symbol table is an abstract mechanism used in many kinds of applications, including search applications, to store key-value pairs (information), where we can later search for and retrieve the value by specifying a key. For an effective symbol table implementation, it is important to choose an appropriate data structure. We have created a C# .NET application that allows to search for values, structured data of persons, according to given keys, e.g., first names and surnames, or phone numbers, in a symbol table (a phone book) that is implemented in a binary search tree, an array, and in a linked list sequentially, on multiple threads and in parallel using its instance methods, while the application measures the execution times of particular searches. By comparing these execution times, we were finding which of these data structures allows more efficient searching in a sequential search, multi-threaded, or in a parallel search.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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

References

  1. Sedgewick, R.: Algorithms in C, Third Edition, Parts 1–4, Fundamentals, Data Structures, Sorting, Searching. Addison-Wesley Publishing Company, Inc., Boston, San Francisco, New York (1998)

    Google Scholar 

  2. Sedgewick, R., Wayne. K.: Algorithms, Fourth Edition, p. 02116. Pearson Education, Inc., Boston, MA (2011)

    Google Scholar 

  3. Sedgewick, R., Wayne. K.: Symbol Tables. https://introcs.cs.princeton.edu/java/44st/. Accessed 22 Aug 2023

  4. Drozdek, A.: Data Structures and Algorithms in C++, 4th edn. Cengage Learning, Boston (2013)

    Google Scholar 

  5. Košt’ál, I.: Execution efficiency of a sequential search, multi-threaded, and a parallel search for a data in a symbol table implemented in an array, and in a linked list. In: TIEES 2022: Trends and Innovations in E-Business, Education and Security: Tenth International Scientific Web-conference of Scientists and PhD. Students or Candidates, pp. 65–82. The Slovak Society for Economic Informatics, Bratislava, Slovakia (2022)

    Google Scholar 

  6. Microsoft Corp.: Microsoft documentation. https://learn.microsoft.com. Accessed 22 Aug 2023

  7. Sedgewick, R., Wayne. K.: Elementary Symbol Tables. https://algs4.cs.princeton.edu/31elementary/. Accessed 18 Aug 2023

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Igor Košt’ál .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Košt’ál, I. (2024). Execution Efficiency of a Sequential, Multi-Threaded, and a Parallel Search for a Structured Data in a Symbol Table Implemented in a Binary Search Tree, an Array, and in a Linked List. In: Ono, Y., Kondoh, J. (eds) Recent Advances in Technology Research and Education. Inter-Academia 2023. Lecture Notes in Networks and Systems, vol 939. Springer, Cham. https://doi.org/10.1007/978-3-031-54450-7_35

Download citation

Publish with us

Policies and ethics