ARCHIVES

Original Article

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

Atharva Shankar Jedhe1Karan Kailas Kadam2

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

Published Online: May-August 2026

Pages: 29-35

Cite this article

No DOI

Abstract

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.

Related Articles

2026

Artificial Intelligence in Learning and Teaching

2026

Admin Assist: An AI – Driven Configuration and Orchestration for Enterprise Application

2026

Enhancing Blood Group Identification using pigeon inspired optimization: An Innovative Approach

2026

Eco-Genius: Power Up Smart, Power Down Waste

2026

Crowd-Sourced Disaster Response and Rescue Assistant

2026

Unveiling Deepfake Detection Using Vision Transformers: A Survey and Experimental Study

2026

A Novel Stateful Orchestration Pattern for Data Affinity and Transactional Integrity in Sharded Backend Architectures

2026

Legal Challenges of Agentic AI Systems in Education and Employment Decision-Making

2026

New-Hybrid Soft Computing Model for Stock Market Predictions

2026

Human Emotion Distribution Learning from Face Images Using CNN

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