Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustin/erl-conc
Concurrent Lists in Erlang
https://github.com/dustin/erl-conc
Last synced: about 2 months ago
JSON representation
Concurrent Lists in Erlang
- Host: GitHub
- URL: https://github.com/dustin/erl-conc
- Owner: dustin
- License: mit
- Created: 2010-03-04T09:48:18.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T05:23:02.000Z (over 2 years ago)
- Last Synced: 2024-10-11T14:15:31.791Z (2 months ago)
- Language: Erlang
- Homepage: http://dustin.github.com/2010/03/04/erlang-conc.html
- Size: 3.91 KB
- Stars: 29
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE.txt
Awesome Lists containing this project
README
# An erlang conc list implementation.
Read more [in my blog post][post].
[post]: http://dustin.github.com/2010/03/04/erlang-conc.html
Rebalancing is pretty slow right now, so initial list builds, appends,
etc... take longer than they should. If you're reading this, I expect
a patch. :)## Concurrent Awesomeness
Make a 1,000 node balanced conc list
C = conc:from_list(lists:seq(1, 1000)), ok.
Now do something expensive with it (on my system, this takes about 4s):
conc:foreach(fun(_X) -> timer:sleep(1000) end, C).