Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
198
Issues
198
List
Board
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
f730b1b0
Commit
f730b1b0
authored
Jul 05, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLI FIX] for now better perf with mapConcurrently only.
parent
61ae3d2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Main.hs
bin/gargantext-cli/Main.hs
+2
-1
install
install
+2
-0
No files found.
bin/gargantext-cli/Main.hs
View file @
f730b1b0
...
...
@@ -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
install
View file @
f730b1b0
#!/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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment