Mercurial > hg > may
changeset 491:d32edf4ac35d
Concurrent hash
author | Chris Cannam |
---|---|
date | Mon, 04 Nov 2013 14:18:06 +0000 |
parents | 3637d758d66d |
children | efff14fce590 |
files | src/may/stream/manipulate.yeti |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/may/stream/manipulate.yeti Sun Nov 03 10:30:01 2013 +0000 +++ b/src/may/stream/manipulate.yeti Mon Nov 04 14:18:06 2013 +0000 @@ -233,7 +233,7 @@ // (so maybe name is misleading?) array if copies < 2 then map \s [1..copies]; else - pos = [:]; + pos = concurrentHash (); lowtide () = head (sort (map (at pos) (keys pos))); var hightide = 0; var cache = mat.zeroSizeMatrix ();