Parallelization of Bulk Operations for STL Dictionaries
Parallelization of Bulk Operations for STL Dictionaries
复制标题
STL 字典批量操作的并行化
DOI:
10.1007/978-3-540-78474-6_8
复制
发表时间:
2007
期刊:
影响因子:
--
通讯作者:
J. Singler
中科院分区:
文献类型:
--
作者:
Leonor Frias;J. Singler
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.