[email protected] +91 9840521421 Scholarly Open Access, Peer-reviewed, Refereed Journal e-ISSN 2583-5300 Since 2022
  1. Home
  2. Archives
  3. 2026
  4. Vol. 5 Issue 2
  5. Article
Original Article

A Comparative Study of STL Container Performance in C++17

Open Access Peer Reviewed

Authors

  • Atharva Shankar Jedhe1
  • Karan Kailas Kadam2

1 2 Department of Computer Science, P.V.G.'s College of Science and Commerce, Savitribai Phule Pune University, Maharashtra, India.

Article Information

DOI
No DOI
Published Online
May-August 2026
Pages
29-35
Article Type
Original Article
Check for updates
No DOI available for cross-reference

Abstract

View PDF

This study presents an empirical performance evaluation of key C++ Standard Template Library (STL) containers, including std::vector, std::list, std::deque, std::set, and std::unordered_set. The experiments were conducted on a Windows platform using the MSVC compiler under both optimized (/O2) and non-optimized (/Od) configurations. Performance was measured across four fundamental operations— insertion, traversal, search, and deletion—using datasets ranging from 1,000 to 500,000 elements. The results demonstrate significant variation in runtime behavior depending on container type and compiler optimization level. The findings provide practical insights for selecting appropriate STL containers in performance-critical applications.

APC from ₹1200 + 18% GST

Peer-reviewed open access₹1200 Indian (₹1400 with DOI)$80 USD internationalpaid after acceptance Peer-reviewed open access₹1200 Indian$80 USD international ₹1200 Indian · $80 intl

  • CrossRef DOI
  • ISSN 2583-5300
  • Open Access
  • Peer Reviewed
  • Plagiarism Checked
  • Google Scholar
Submit Paper