diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-09 00:42:39 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-09 00:42:39 +0100 |
| commit | 8acabe18cad69d7c7ed7a00ffef654abc3873a16 (patch) | |
| tree | 3fd05d3f6fb9ce51644d27688c073a49f7df0c73 /src/steps.c | |
| parent | 849edbb69700a9f7520e159d94333ef5b798685b (diff) | |
| download | nissy-8acabe18cad69d7c7ed7a00ffef654abc3873a16.tar.gz nissy-8acabe18cad69d7c7ed7a00ffef654abc3873a16.zip | |
Multi-threaded pruning table generation - now it's actually fast :)
Diffstat (limited to 'src/steps.c')
| -rw-r--r-- | src/steps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/steps.c b/src/steps.c index 4646abd..abb2918 100644 --- a/src/steps.c +++ b/src/steps.c | |||
| @@ -1143,10 +1143,10 @@ new_localinfo() | |||
| 1143 | } | 1143 | } |
| 1144 | 1144 | ||
| 1145 | void | 1145 | void |
| 1146 | prepare_step(Step *step) | 1146 | prepare_step(Step *step, int nthreads) |
| 1147 | { | 1147 | { |
| 1148 | int i; | 1148 | int i; |
| 1149 | 1149 | ||
| 1150 | for (i = 0; i < step->ntables; i++) | 1150 | for (i = 0; i < step->ntables; i++) |
| 1151 | genptable(step->tables[i]); | 1151 | genptable(step->tables[i], nthreads); |
| 1152 | } | 1152 | } |
