Commit f730b1b0 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[CLI FIX] for now better perf with mapConcurrently only.

parent 61ae3d2f
......@@ -101,6 +101,7 @@ main = do
let patterns = WithList $ buildPatterns termList
r <- mapConcurrentlyChunked (filterTermsAndCooc patterns) (DM.toList corpus)
-- r <- mapConcurrentlyChunked (filterTermsAndCooc patterns) (DM.toList corpus)
r <- mapConcurrently (filterTermsAndCooc patterns) (DM.toList corpus)
putStrLn $ show r
--writeFile outputFile cooc
#!/bin/bash
# On Debian:
# sudo apt-get update && sudo apt-get install libpcre3-dev libbz2-dev
curl -sSL https://get.haskellstack.org/ | sh
stack update
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment