Change search
ReferencesLink to record
Permanent link

Direct link
Parallel optimization of the set data structure
Umeå University, Faculty of Science and Technology, Department of Computing Science.
2015 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

The Set data structure is a powerful and popular programmer’s tool based on set theory. Bulk operations such as addAll provide a simple way of working with big collections of elements but can severely limit the performance of a multi-processor system when invoked on big sets if performed sequentially.

Parallel processing is a technique that can significantly shorten the execution time of otherwise sequentially executed tasks. In this thesis, a new type of set is proposed that uses multiple threads to employ parallel processing for bulk operations.

A new set is designed based on a non-blocking hash table with a high level of concurrency. The parallelization of the set makes use of parallel Java 8 streams to allow for quick iteration of the source collection elements, resulting in a speedup in processing of bulk operations. Testing the parallel set shows a significant increase in execution speed on bulk operations when operating on more than 10000 elements.

Place, publisher, year, edition, pages
2015. , 29 p.
, Umnad, 1026
National Category
Engineering and Technology
URN: urn:nbn:se:umu:diva-108374OAI: diva2:852729
Educational program
Bachelor of Science Programme in Computing Science
Available from: 2015-09-10 Created: 2015-09-10 Last updated: 2015-09-10Bibliographically approved

Open Access in DiVA

fulltext(282 kB)50 downloads
File information
File name FULLTEXT01.pdfFile size 282 kBChecksum SHA-512
Type fulltextMimetype application/pdf

By organisation
Department of Computing Science
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 50 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 124 hits
ReferencesLink to record
Permanent link

Direct link