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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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)
Sedgewick, R., Wayne. K.: Algorithms, Fourth Edition, p. 02116. Pearson Education, Inc., Boston, MA (2011)
Sedgewick, R., Wayne. K.: Symbol Tables. https://introcs.cs.princeton.edu/java/44st/. Accessed 22 Aug 2023
Drozdek, A.: Data Structures and Algorithms in C++, 4th edn. Cengage Learning, Boston (2013)
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)
Microsoft Corp.: Microsoft documentation. https://learn.microsoft.com. Accessed 22 Aug 2023
Sedgewick, R., Wayne. K.: Elementary Symbol Tables. https://algs4.cs.princeton.edu/31elementary/. Accessed 18 Aug 2023
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
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
DOI: https://doi.org/10.1007/978-3-031-54450-7_35
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-54449-1
Online ISBN: 978-3-031-54450-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)