...
Code Block |
---|
// nonthreaded, nested map operation on big list; 3.0s f.lines() => a; a:{ string line | line.split():{ string w | ... }}; |
Buffer size is 1000. When I drop to 100, slows down by .2s. When I increase to 4000, no change. 40000, slows down by .5s. Size 400 seems to be slightly faster. Default queue size set to 400 now.
Thanks to Sriram Srinivasan for the idea of ping-ponging the buffers.