Skip to content

Commit 05a85d9

Browse files
committed
Merge branch 'release' into dev
2 parents e9f4721 + 6ff4307 commit 05a85d9

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "peroxide"
3-
version = "0.39.3"
3+
version = "0.39.4"
44
authors = ["axect <[email protected]>"]
55
edition = "2018"
66
description = "Rust comprehensive scientific computation library contains linear algebra, numerical analysis, statistics and machine learning tools with farmiliar syntax"
@@ -29,8 +29,8 @@ criterion = { version = "0.5.1", features = ["html_reports"] }
2929

3030
[dependencies]
3131
csv = { version = "1.3", optional = true, default-features = false }
32-
rand = { version = "0.8", features = ["small_rng"] }
33-
rand_distr = "0.4"
32+
rand = { version = "0.9", features = ["small_rng"] }
33+
rand_distr = "0.5"
3434
order-stat = "0.1"
3535
puruspe = "0.4"
3636
matrixmultiply = { version = "0.3", features = ["threading"] }

RELEASES.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Release 0.39.4 (2025-04-11)
2+
3+
## Optimize `integrate`
4+
5+
- Replace the output signature of `gauss_legendre_table` and `kronrod_table` to `&'static [f64]` to avoid unnecessary allocations.
6+
- Hard code symmetry of weights and nodes into source code to avoid unnecessary allocations.
7+
- New helper function - `compute_gauss_kronrod_sum_stored`
8+
- Reduce the number of function calls (G+K -> K)
9+
- Change update method of subinterval tolerance (divide by 2 -> divide by sqrt(2))
10+
- These changes improve the performance of `integrate` by 1.2x - 50x (to integrate highly oscillatory functions)
11+
12+
## Update dependencies
13+
14+
- Update `rand` to `0.9`
15+
- Update `rand_distr` to `0.5`
16+
117
# Release 0.39.3 (2025-03-13)
218

319
- Update `puruspe` to `0.4.0`

0 commit comments

Comments
 (0)