Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Algorithm for multithreaded construction of immutable trees in java

I would like to build an immutable tree data structure representing an arbitrary subset of a filsystem directory structure. There would typically be a filter that knows about include/exclude and I would basically want to have some threading support in the construction.

This sounds like pure nerd fun to code myself, but I am actually wondering if there are any good examples, texts or similar on this topic ? Source code is nice ;)

like image 408
krosenvold Avatar asked Feb 12 '11 10:02

krosenvold


1 Answers

This book has all the answers: http://www.amazon.co.uk/Purely-Functional-Structures-Chris-Okasaki/dp/0521663504

like image 114
ashley aberneithy Avatar answered Nov 17 '22 06:11

ashley aberneithy