STL Performance Experiments and Analysis in undergraduate Data Structure Course

التفاصيل البيبلوغرافية
العنوان: STL Performance Experiments and Analysis in undergraduate Data Structure Course
المؤلفون: Chen Jierui, Su Fang
المصدر: 2021 IEEE 3rd International Conference on Computer Science and Educational Informatization (CSEI).
بيانات النشر: IEEE, 2021.
سنة النشر: 2021
مصطلحات موضوعية: Set (abstract data type), Theoretical computer science, Memory management, Memory hierarchy, Computer science, Container (abstract data type), Perspective (graphical), Sorting, Cache, Data structure
الوصف: When having undergraduate data structure courses, we discovered that after learning STL containers, students still don’t fully understand how does STL works, the characteristic of different containers, and how computer architecture can influence the performance of STL containers. In order to help students to have a better understanding of STL containers, and learn more about how the memory and cache will influence the performance of containers, so that storing, searching and sorting can be done more efficiently when facing different kinds of restrictions such as limited time and memory, this paper gives an introduction to the implementation of the seven popular STL containers, which are vector, list, deque, set, map, unordered_set, and unordered_map. The performance of insertion, searching, and sorting of them is tested with different sizes of data. After the test, we analyze the result from the perspective of the memory hierarchy. According to the experiments, vector has the fastest insertion speed; Among the three sortable containers, the sorting performance of vector and deque are very close, while list is much slower. Among set, map, unordered_set, unordered_map and unordered_set possess the best searching performance. Based on the test results, we offer some suggestions on how to choose a container for different requirements.
URL الوصول: https://explore.openaire.eu/search/publication?articleId=doi_________::ca3ef17730b9d668d8fb2839b467e4b2
https://doi.org/10.1109/csei51395.2021.9477759
حقوق: CLOSED
رقم الأكسشن: edsair.doi...........ca3ef17730b9d668d8fb2839b467e4b2
قاعدة البيانات: OpenAIRE