groovy Groovy code golfing Parallel processing using Gpars


Example

Gpars offers intuitive ways to handle tasks concurrently

import groovyx.gpars.*
GParsPool.withPool { def result = dataList.collectParallel { processItem(it) } }