Skip to content

Commit a8a02a4

Browse files
authored
chore: bump version to 0.3.0 (#14)
Also restores the README's one-sentence-per-line style in the sections touched by the 1.5.0 benchmark refresh.
1 parent d65ac17 commit a8a02a4

3 files changed

Lines changed: 7 additions & 11 deletions

File tree

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "adaptive-triangulation"
3-
version = "0.2.1"
3+
version = "0.3.0"
44
edition = "2021"
55
description = "Fast N-dimensional Delaunay triangulation with incremental point insertion (Bowyer-Watson)"
66
license = "BSD-3-Clause"

‎README.md‎

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)](LICENSE)
77

88
Fast N-dimensional Delaunay triangulation in Rust with Python bindings (PyO3).
9-
Drop-in replacement for [adaptive](https://github.com/python-adaptive/adaptive)'s `Triangulation` class — **30-300× faster** standalone, **~3.3×** end-to-end in `LearnerND` (where adaptive's own Python code dominates). Used automatically by adaptive ≥ 1.5 when installed.
9+
Drop-in replacement for [adaptive](https://github.com/python-adaptive/adaptive)'s `Triangulation` class — **30-300× faster** standalone, **~3.3×** end-to-end in `LearnerND` (where adaptive's own Python code dominates).
10+
Used automatically by adaptive ≥ 1.5 when installed.
1011

1112
## Performance
1213

@@ -33,11 +34,8 @@ The end-to-end ratio is smaller than the standalone one because adaptive's own P
3334

3435
### Batched LearnerND APIs (not yet wired into adaptive)
3536

36-
`simplices_containing` and `default_loss` move two of the remaining `LearnerND`
37-
Python hot loops into Rust. Wired in the way a future adaptive release would use
38-
them ([`examples/learnernd_batched_apis.py`](examples/learnernd_batched_apis.py)),
39-
they add **1.17×** (2D, 3000 pts) to **1.40×** (3D, 1500 pts) on top of the
40-
table above, while sampling identical points.
37+
`simplices_containing` and `default_loss` move two of the remaining `LearnerND` Python hot loops into Rust.
38+
Wired in the way a future adaptive release would use them ([`examples/learnernd_batched_apis.py`](examples/learnernd_batched_apis.py)), they add **1.17×** (2D, 3000 pts) to **1.40×** (3D, 1500 pts) on top of the table above, while sampling identical points.
4139

4240
## Installation
4341

@@ -73,9 +71,7 @@ Since adaptive 1.5.0 this package is detected and used automatically — no code
7371
pip install "adaptive[rust]"
7472
```
7573

76-
Per learner, the backend can be selected explicitly with
77-
`LearnerND(..., triangulation_backend="auto" | "python" | "rust")`, or globally
78-
with the `ADAPTIVE_TRIANGULATION_BACKEND` environment variable.
74+
Per learner, the backend can be selected explicitly with `LearnerND(..., triangulation_backend="auto" | "python" | "rust")`, or globally with the `ADAPTIVE_TRIANGULATION_BACKEND` environment variable.
7975

8076
For adaptive < 1.5.0, monkey-patch the module instead:
8177

0 commit comments

Comments
 (0)