Parallelization of bulk operations for STL dictionaries

  • Authors:
  • Leonor Frias;Johannes Singler

  • Affiliations:
  • Dep. de Llenguatges i Sistemes Informàtics, Universitat Politècnica de Catalunya;Institut für Theoretische Informatik, Universität Karlsruhe

  • Venue:
  • Euro-Par'07 Proceedings of the 2007 conference on Parallel processing
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

STL dictionaries like map and set are commonly used in C++ programs. We consider parallelizing two of their bulk operations, namely the construction from many elements, and the insertion of many elements at a time. Practical algorithms are proposed for these tasks. The implementation is completely generic and engineered to provide best performance for the variety of possible input characteristics. It features transparent integration into the STL. This can make programs profit in an easy way from multi-core processing power. The performance measurements show the practical usefulness on real-world multi-core machines with up to eight cores.