Skip to content

Commit 02fb50b

Browse files
committed
[feature] Enable rayon (parallelism) by default
This doesn't much affect smaller, typical-sized courses, but it's about a 3-4x speedup on cptr006.gpx when running with -t 1000.
1 parent ca9c3fd commit 02fb50b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- features: "full-geolib"
6464
- features: "cli"
6565
- features: "floor"
66-
- features: "cli,floor,rayon"
66+
- features: "cli,floor"
6767
- features: "floor,rayon"
6868

6969
runs-on: ubuntu-latest
@@ -111,7 +111,7 @@ jobs:
111111
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
112112

113113
- name: Setup rust
114-
run: rustup toolchain install --profile minimal -c rustfmt,clippy nightly && rustup default nightly
114+
run: rustup toolchain install --profile minimal -c rustfmt nightly && rustup default nightly
115115

116116
- name: rustfmt
117117
run: cargo fmt --check

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ csv = "1.3.1"
5252
serde = { version = "1.0.219", features = ["derive"] }
5353

5454
[features]
55-
default = ["cli", "floor"]
55+
default = ["cli", "floor", "rayon"]
5656
cli = ["dep:anyhow", "dep:clap", "dep:clap-cargo", "dep:sys-locale", "dep:tracing-subscriber"]
5757
floor = []
5858
full-geolib = []

0 commit comments

Comments
 (0)