Abstract
The Standard Template Library (STL) is a C++ library that provides a set of well structured generic C++ components that work together. Based on its well-structured design, STL can be extended by adding new generic algorithms or new generic containers. In this paper, the work on extending STL by adding several efficient container classes for threaded binary search trees is discussed. It is shown that the addition of threads significantly increases the efficiency of some important access operations on the binary tree containers. In general, significant gain in efficiency can be expected in situations where the data structures are relatively stable, that is, the data structures are looked up often but modified little.
Similar content being viewed by others
References
Stepanov A A, Lee M. The Standard Template Library. Technical Report HPL-94-34, Hewlett-Packard Lab., April 1994.
Musser D R, Stepanov A A. Algorithm-oriented generic libraries.Software — Practice and Experience, 1994, 24(7): 623–642.
Cormen T H, Leiserson C E, Rivest R L. Introduction to Algorithms. The MIT Press, 1991.
Adel'son-Vel'skii G M, Landis E M. An algorithm for the organization of information.Soviet Mathematics Doklady, 1962, 3: 1259–1263.
Knuth D E. The Art of Computer Programming, Volume 1: Fundamental Algorithms. Addison-Wesley, Reading, Mass., 1973.
Standish T A. Data Structure Techniques. Addison-Wesley, Philippines, 1980.
Kruse R L. Data Structures & Program Design. Prentice-Hall, New Jersey, 1984.
Knuth D E. The Art of Computer Programming, Volume 3: Sorting and Searching. Addison-Wesley, Reading, Mass, 1973.
Stroustrup B. The C++ Programming Language. Addison-Wesley, 1991.
Author information
Authors and Affiliations
Corresponding author
Additional information
Wu Hong received her B.S. and M.S. degrees in computer science from Nanjing University in 1990 and 1993 respectively. She received her M.S. degree in computer science in 1996 from Wichita State University in Wichita, Kansas. She is currently a software engineer at Qualcomm Inc. in San Diego, California.
Nie Xumin received his B.S. degree in computer science from Harbin Institute of Technology in 1982, M.S. degree in computer science from Temple University in Philadelphia, USA in 1985, and Ph.D degree in computer science from University of North Carolina at Chapel Hill, USA in 1989. He is currently an Assistant Professor at Wichita State University in Wichita, Kansas.
Rights and permissions
About this article
Cite this article
Wu, H., Nie, X. Extending STL with efficient data structures. J. of Comput. Sci. & Technol. 13, 317–324 (1998). https://doi.org/10.1007/BF02946621
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02946621