Docs.rs
tidepool-optimize-0.1.0
tidepool-optimize 0.1.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Repository
crates.io
Source
Owners
inanna-malick
Dependencies
tidepool-eval ^0.1.0
normal
tidepool-repr ^0.1.0
normal
proptest ^1
dev
serial_test ^3.4.0
dev
Versions
65.52%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module pipeline
tidepool_
optimize
0.1.0
Module pipeline
Module Items
Structs
Constants
Functions
In crate tidepool_
optimize
tidepool_optimize
Module
pipeline
Copy item path
Source
Structs
§
Pipeline
Stats
Statistics from a pipeline run.
Constants
§
MAX_
PIPELINE_
ITERATIONS
Maximum number of iterations for the pipeline to avoid infinite loops.
Functions
§
default_
passes
Returns the default optimization pass sequence. Order: BetaReduce → Inline → CaseReduce → Dce → PartialEval.
optimize
Run the default optimization pipeline to fixed point.
run_
pass_
to_
fixpoint
Run a single pass to fixed point (convenience). Returns the number of times the pass reported a change.
run_
pipeline
Run a sequence of passes to fixed point. Keeps iterating until no pass reports a change or MAX_PIPELINE_ITERATIONS is reached. Returns stats about how many iterations and per-pass invocations.