Skip to content

JuliaConcurrent/ConcurrentCollections.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

09a8cbe · Apr 23, 2022

History

75 Commits
Apr 23, 2022
Dec 3, 2021
Sep 29, 2021
Sep 13, 2021
Apr 23, 2022
Apr 23, 2022
Apr 23, 2022
Sep 14, 2021
May 10, 2021
May 5, 2021
Apr 23, 2022
Sep 29, 2021

Repository files navigation

ConcurrentCollections

Dev

ConcurrentCollections.jl provides the following concurrent collections for Julia ≥ 1.7. Most of their operations are (almost) lock-free whenever appropriate.

NOTE: If you are trying to find a way to improve performance (especially the throughput) of your program, it is highly recommended to look for ways to avoid using concurrent collections first. In particular, consider applying the data-parallel pattern to dodge the difficulties in concurrent programming. For example, it is often a better idea to use task-local non-thread-safe Dicts instead of a ConcurrentDict shared across tasks. One of the most important techniques in data-parallel programming is how to merge such task-local states. For more information, see, e.g., Efficient and safe approaches to mutation in data parallelism.