Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/analysis/src/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ pub(crate) fn uncapped() -> bool {

/// The work units (a distance, a ray step, a multiply-add) between two looks at the cancel flag
/// inside an item of a loop ([`Pace`]): a few milliseconds.
const PACE_WORK: usize = 1 << 22;
pub(crate) const PACE_WORK: usize = 1 << 22;

/// Looks at the cancel flag about every [`PACE_WORK`] units of work, within an item that may
/// take long on its own (a row of a wide grid without a work cap), so Cancel stops the run soon.
Expand Down
Loading
Loading