4 ms·
I think that's a too blanket statement. What do you want to do with the list, a map or a fold? In the former case, what is the cost of the function application?
by danieldk 16y ago
I think that's a too blanket statement. What do you want to do with the list, a map or a fold? In the former case, what is the cost of the function application?
- eru 16y agoPlease have a look at Guy Steele's talk (http://www.vimeo.com/6624203 http://www.vimeo.com/6624203). Basically he suggests using tree-like data structures, instead of linear data structures. You can also map, fold and filter over trees, but it parallelizes better.