#[cfg(feature = "unstable")]
#[inline(always)]
fn b<T>(mut p: *mut T) -> *mut T { unsafe { core::arch::asm!("/* {0} */", inout(reg) p) } p }
#[cfg(not(feature = "unstable"))]
#[inline(always)]
fn b<T>(p: *mut T) -> *mut T { p }
#[cfg(feature = "safe")]
macro_rules! safe_assert {
($x: expr) => {
assert!($x);
}
}
#[cfg(not(feature = "safe"))]
macro_rules! safe_assert {
($x: expr) => { () }
}
mod streaming;
pub use crate::streaming::StreamingSieve;
pub use crate::streaming::primes::Primes;
mod wheel;
mod sieve;
pub use crate::sieve::{Sieve, SievePrimes};