diff options
| author | hallgren <hallgren@chalmers.se> | 2012-06-26 17:01:15 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2012-06-26 17:01:15 +0000 |
| commit | 241bef8a51ba18f5092d05065f3ecde60c01660f (patch) | |
| tree | 4934e112b8bf4856374a526ca695d00e3c6ecaba /src/compiler/GF/Compile/PGFtoPython.hs | |
| parent | 82a5c574b6b553fb23bd47bba0fbb511a7b7d6d3 (diff) | |
Experiment with parallel grammar checks
Introduced the function
parallelCheck :: [Check a] -> Check [a]
that runs independent checks in parallel, potentially allowing faster grammar
compilation on multi-core computers, if you run gf with +RTS -N.
However, on my dual core laptop, this seems to slow down compilation somewhat
even though CPU utilization goes up as high as 170% at times.
(This is with GF compiled with GHC 7.0.4.)
Diffstat (limited to 'src/compiler/GF/Compile/PGFtoPython.hs')
0 files changed, 0 insertions, 0 deletions
