Files
craft-libs/vendor/linesweeper/SOURCE.json
dotCooCoo aac2949553 linesweeper: allow the horizontal sort charge in the horizontal-scan work test
work_limit_counts_the_horizontal_scans failed with 15207 units of work
against a limit of 15113. Since 468c27735 the intersection loop searches
each segment's position once instead of twice, so the whole sweep does
less work and half of it now falls on a sweep line with 30 horizontal
segments. compute_horizontal_changed_intervals charges n log2 n (120)
before it sorts them and stops there, which is the documented behavior
that work_limit_counts_sorting_the_horizontals covers. The test's bound
allowed only two comparisons or one position check past the limit.

The bound now also allows that sort charge, and the message names the
limit. SOURCE.json records the new hash of sweep_line.rs.
2026-11-28 02:11:13 -08:00

213 lines
60 KiB
JSON

{
"crate": "linesweeper",
"source_repository": "https://crates.io/api/v1/crates/linesweeper/0.5.0/download",
"source_revision": "0.5.0",
"source_directory": "linesweeper-0.5.0",
"source_archive_sha256": "a25df1b0c5432893f41bba817150e323703ee5f6d974f3a6808ac7fd7f046d18",
"upstream_repository": null,
"upstream_revision": "824b0791a750f7b27b8edcbb6c6244d0e629875e",
"upstream_directory": "",
"local_patches": [
"Numeric helpers reject invalid float bounds and retain extreme quadratic roots, conservative slope bounds, small affine offsets, and exact mapped endpoints. Curve comparisons return an empty order for disjoint height ranges. Mutable reversed cache entries retain edits until eviction or an arena change. Output events have total floating-point ordering, including NaNs and signed zero. Bounded topology output accounts for merged winding storage and rejects size overflow. Batch insertion rolls back its unentered suffix if its iterator panics. Sweep work counts actual tree-search predicates; ordinary touches do not hash the intervening span. Reverse iterators use the shared inline stack. The crossing-height proof explicitly assumes finite denominator additions.",
"`binary_op_accuracy` in `src/lib.rs` returns the checked automatic accuracy, including for open paths. `binary_op` and `Topology::from_paths_with_automatic_limits` in `src/topology.rs` compute accuracy from monotonic pieces before preparing sweep metadata, then sort accepted input once. The accuracy uses the retained segments' coordinate scale, including their curve control points. `automatic_accuracy_checks_control_point_scale` checks both argument orders and a wider-feature control; `automatic_accuracy_ignores_discarded_horizontal_handles` checks that a retraced horizontal curve does not raise the floor. `automatic_boolean_reuses_the_prepared_segment_events` uses the shared test comparison counter from `src/segments.rs` to check one input sort for ordinary and bounded operations. `automatic_accuracy_does_not_sort_events`, `automatic_feature_rejection_does_not_sort_events`, and `automatic_accuracy_does_not_prepare_sweep_metadata` check that accuracy queries and rejected features do not sort events or prepare sweep metadata. `automatic_accuracy_accepts_open_paths` checks an open accuracy query and the topology constructor's closure check.",
"Sweep-order checks in `src/sweep/sweep_line.rs` accept closed `Ish` intervals, including zero-height touches. The position-search work test uses 100 and 200 rectangles with `slow-asserts` and keeps 2,000 and 4,000 without that feature; both configurations retain the same work-count and work-limit assertions.",
"`SegmentOrder::position` finds a segment by binary search over a key on each sweep-line entry instead of scanning the line. The order of the line and the index returned do not change.",
"`ComparisonCache` skips the curve comparison for two segments whose horizontal bounds are more than four times the larger of the tolerance and the accuracy apart, and records one order for all the heights they share. The full comparison can report part of such a pair as `Ish`, and this result does not. This result's `metrics` holds one entry at depth zero.",
"`Metrics::entries` is a `SmallVec<[MetricsEntry; 2]>` instead of a `Vec`.",
"In `docs/sweep.typ`, the intersection scan to the left compares each segment with `alpha^(i+1)`, the segment the lemma after it is stated for, instead of `alpha^i`.",
"In `docs/sweep.typ`, the typo \"condi0.2tions\" reads \"conditions\", and `q(i+i)` reads `q(i+1)`, the first index for which `q` is false.",
"In `docs/sweep.typ`, the lemma for the intersection scan to the left asks for the ordering invariant on `(alpha^1, ..., alpha^(i+1))` and the crossing invariant on `(alpha^1, ..., alpha^i)`, as the bidirectional lemma uses it, and the argument for the order invariant cites the crossing invariant instead of a \"third invariant\".",
"In `src/curve/line.rs`, `line_at_ys` divides each y offset by the line's height instead of multiplying it by the height's reciprocal, so a line less than about 5.6e-309 tall no longer gives NaN positions in `intersect_lines`. Vertical lines keep their exact endpoint x coordinate; `coincident_vertical_lines_keep_their_exact_x` checks coincident lines at x = 0.1 with tolerance 1e-18.",
"`F64Perturbation::Ulp` on a subnormal value gives the value on the other side of zero when a step toward zero is larger than the value, instead of keeping the value's sign. The module is compiled only for tests.",
"src/curve/mod.rs: the `QuadraticApprox` doc says the quadratic gives `x` as a function of `y`, as `from_cubic`, `dmin` and `dmax` use it, and the test `curve::test::quad_approximation_gives_x_of_y` checks it on the curve `x = y^2`.",
"In `examples/boolean_op.rs`, `examples/visualize_op.rs` and `examples/winding-numbers.rs`, the SVG stroke width is the larger of the bounding box's width and height divided by 512. The package computed `(max_y - min_y).max(max_x - max_y) / 512.0`, which uses `max_x - max_y` for the width: a box from (0, 1000) to (512, 1001) got a stroke width of 1/512 instead of 1. `examples/visualize_op.rs` computes it in a `stroke_width` function with the test `stroke_width_follows_the_larger_side`; the other two examples do not compile in this copy.",
"Remove the `boolean_op` and `winding-numbers` examples, the `fonts` and `snapshots` tests and the `linebender_logo` bench from `Cargo.toml`, since they need dev-dependencies or files the package leaves out. Their source files are retained; the two examples also have the separately recorded stroke-width changes.",
"`ComparisonCache::compare_segments` in `src/order.rs` returns `Option<&mut CurveOrder>`, and returns `None` when either segment is horizontal, in every build profile; its doc comment states it. The crate's own callers in `src/sweep/sweep_line.rs`, `src/position.rs` and `src/topology.rs` hold only segments that are not horizontal and call the crate-private `compare_non_horizontal_segments`, which checks that with a `debug_assert`; `ComparisonCache::with_order` is crate-private for the same reason. Before, a horizontal line and a cubic stopped at a `debug_assert` in `Segments::horiz_decomp` in a debug build, and a release build skipped that check.",
"In `src/position.rs`, `compute_positions` sets each output segment's `last_y` to the segment's start height before queuing it. It started at 0, so a segment starting at `y < 0` was skipped at its first queue entry and close segments there were not put in order: with `Correctness::ReallyCorrect`, two lenses 0.001 apart at `dy = 100` gave 48 corrected quadratics, and the same lenses at `dy = -100` gave 20 uncorrected cubics. `position::tests::correct_positions_at_negative_y` checks both heights.",
"`Segment::lower` and `Segment::upper` bound a horizontal line by both of its endpoints. In the package, `local_bbox` takes both x values from `at_y`, which returns the right end of a horizontal line, and `lower` returns the right end minus `eps`.",
"The `visualize_op` example draws its two input paths with `fill-rule=\"evenodd\"`. Its `binary_op` call uses `FillRule::EvenOdd`, and the SVG default fill rule is nonzero.",
"In `docs/sweep.typ`, the floating-point ratio lemma assumes `y_0 < y_1` and a finite `fl(y_1 - y_0)`, and its proof bounds `fl(y_1 - y_0)` where it wrote `fl(y + y_0)`. The ordering alone does not rule out overflow: with `y_0 = -1e308`, `y = 0` and `y_1 = 1e308` the computed ratio is 0. The x-coordinate accuracy lemma that uses it takes `M` as a floating-point number, and its proof shows both assumptions hold for a segment that is not horizontal.",
"In `src/segments.rs`, `Segments::add_points` skips a point equal to the one before it, as `add_closed_polyline` already does. Without it, `add_points([(0, 0), (0, 0), (1, 1)])` adds a zero-length segment, and `check_invariants` fails on it. The test `segments::tests::add_points_skips_repeated_points` covers it.",
"Start the `viewBox` in `examples/curve_metrics.rs` at x = -1.5 instead of 0, so the left half of each curve is drawn, and add a test that every curve fits in it.",
"End the `Ish` entry that `CurveOrder::push` inserts between opposite `Left` and `Right` intervals at the earlier interval's end, so it has zero height and the new order covers its own interval.",
"In `src/curve/mod.rs`, `quadratic_signs` calls the new `balance_quadratic`, which multiplies the coefficients by one power of two when `b * b` or `a * c` would underflow or overflow, keeping every coefficient below `2^1021`. Without it, the discriminant underflows to zero or overflows for very small or very large coefficients: for the cubic with y coordinates `[0, -s, -2s, s]`, `monotonic_cubic_pieces` splits at t = 0.5 when s = 1 but returns one piece that is not monotonic when s = 1e-200 or s = 1e160. `curve::test::quadratic_signs_at_extreme_scales` covers it.",
"`float_in_range` interpolates as `start * (1 - t) + end * t` instead of `start + t * (end - start)`, so a range wider than `f64::MAX`, such as `-1e308..1e308`, gives a value in the range instead of NaN.",
"`OutputEvent`'s `Ord` breaks ties between events with the same horizontal range by segment and then by the other fields, so `cmp` returns `Equal` only for equal events. In the package, `cmp` compares the horizontal ranges only, so two events on different segments compare equal while `==` is false, and a `BTreeSet` keeps one of them. The sweep line still sorts its events by horizontal range alone.",
"In `src/sweep/sweep_line.rs`, `choose_cross_height` takes the midpoint of a crossing's height range with `f64::midpoint` instead of `(y0 + y1) / 2.0`, so heights above about 9e307 no longer give an infinite crossing height.",
"In `src/treevec.rs`, `TreeVec::range` and `range_mut` panic with a message when a bound is past `usize::MAX` or the start is after the end, and their doc comments list these panics. Without it, `range((Excluded(usize::MAX), Unbounded))` overflows in `normalize_bounds`, and `range(10..5)` on a tree with internal nodes overflows in a subtraction; in a release build both wrap instead. The tests `treevec::tests::range_reversed`, `range_mut_reversed`, `range_start_past_max` and `range_end_past_max` cover it.",
"The `paperjs` test's `pixmap_distance` counts the alpha difference as well as the color differences. Both images are filled black, so in the package a covered pixel and an empty one have the same color and the image comparison passes on any result.",
"In `docs/sweep.typ`, the crossing-height lemma and its proof use the starting gap `beta(y_0) - alpha(y_0)` as the numerator of `t`, instead of the ending gap `alpha(y_1) - beta(y_1)`, so that `y_0 + t(y_1 - y_0)` is the height where the segments cross, and the proof's inverse-slope difference is `d/(y_1 - y_0)` instead of `d/(y_1 - y_1)`. The lemma's bound and the later bound on the crossing height use the absolute values of the inverse slopes, because the slopes can be negative.",
"In `tests/paperjs.rs`, a test file in `boolean-test/data/` that cannot be loaded becomes a failing `<operation>/load` trial instead of being skipped, so the `paperjs` target no longer passes with zero trials when the data files are missing.",
"In `src/sweep/sweep_line.rs`, `Sweeper::next_line` handles a pair of segments at most once per sweep line for each arrangement of the positions they hold and the segments between them, and queues a repeat at the pair's next order change, so nearly coincident segments whose comparisons are not transitive no longer loop forever at one y.",
"In `src/topology.rs`, `contours_for_positions` returns `Error::InconsistentWindingNumbers` when the contour walk finds no boundary segment leaving a point or re-enters a segment it already walked, so `contours` no longer loops forever on a path whose winding numbers come out inconsistent around a point. Its `debug_assert!` checks of the windings along the walk and its panic for a western boundary segment with no contour return the same error. The new `Topology::try_contours` returns that error, and `Topology::contours` returns no contours in that case.",
"In `src/lib.rs`, `Error` has the `InconsistentWindingNumbers` variant, and `binary_op_with_eps` returns it from `Topology::try_contours`.",
"In `src/sweep/sweep_line.rs`, `Sweeper::handle_intersection` queues a delayed intersection only when its y is before the ends of both segments, so a delayed intersection at a segment's end no longer panics in `CurveOrder::entry_at`.",
"In `src/lib.rs` and `src/topology.rs`, the `Topology` constructors that take Bézier paths return `Error` instead of `NonClosedPath`, and return `Error::NaN`, `Error::Infinity` or the new `Error::TooLarge` for a coordinate that is not finite or has a magnitude above `MAX_COORDINATE` (`f64::MAX / 16`), so `Topology::from_path` and `binary_op` no longer panic on cubics with coordinates above about `f64::MAX / 3`.",
"In `src/topology.rs`, `Contours::grouped` walks each containment tree with an explicit stack instead of one recursive call per nesting level, so deeply nested contours no longer overflow the stack. The order of the returned contours is unchanged.",
"In `src/curve/mod.rs`, `AlmostHorizontalDecomposition::from_monotone_cubic` keeps `p1.y` at least `p0.y` and `p2.y` at most `p3.y` for each piece, instead of clamping both into the piece's y-range. A y-monotone cubic can have handles outside that range, and the clamp moved the curve the sweep compares: for `M0,5 C5,0 2,0 1,1 C0,2 4,0 5,5 Z` at eps 1e-6, `Topology::from_path(..).contours(|w| *w != 0)` gave an outline of area 11.0108 instead of 10.9122, with a horizontal cut at y = 1.97218 that lies 0.2588 from the input. `curve::test::decomposition_keeps_handles_outside_the_y_range` covers the shape and its mirror image in y.",
"In `src/segments.rs` and `src/lib.rs`, a `ClosePath` that comes before the first point of a path is skipped. Without it, a `BezPath` deserialized from `[ClosePath]` or `[ClosePath, MoveTo, LineTo, LineTo, ClosePath]` makes `Topology::from_path` and `binary_op` panic in kurbo with \"Can't start a segment on a ClosePath\". With it, `[ClosePath]` gives no contours and the second path gives the same contours as the path without its leading `ClosePath`. The test `tests::leading_close_path` covers it.",
"In `src/topology.rs`, `Topology::merge_coincident` compares a segment with its nearest west neighbor that an earlier merge did not delete, so a run of three or more coincident segments merges fully instead of in pairs.",
"In `src/topology.rs`, `contours_for_positions` makes a piece split off a contour walk at a repeated point a sibling of the walked contour when it winds the same way and a child of the piece that contains it otherwise, so a hole touching another hole at a point is no longer marked outer with that hole as its parent. When only one piece winds like the walked contour, each other piece becomes its child without a winding test, and otherwise the winding test runs only for the pieces whose bounding box holds the probe point, so `n` holes touching their outer contour no longer take time growing like `n^2`.",
"In `src/sweep/sweep_line.rs`, the touch branch of `Sweeper::handle_intersection` runs each scan from a segment in a direction at most once per sweep line until the sweep-line order changes, so exact copies of a shape no longer rescan the whole coincident bundle for every touch event.",
"In `src/curve/mod.rs`, `AlmostHorizontalDecomposition` stores its pieces in a `SmallVec<[CubicParams; 2]>` instead of an `ArrayVec<CubicParams, 6>`, so a decomposition takes 288 bytes instead of 824 and one with more than two pieces goes on the heap. `Segments` keeps one decomposition for every segment, horizontal ones included. For a closed polygon of 200,000 lines, the peak heap of `Topology::from_path` plus `contours` went from 500.9 MB to 360.4 MB with the same contours. `curve::test::horizontal_decomposition_stores_two_pieces_inline` covers the size and `curve::test::horizontal_decomposition_keeps_every_piece` covers decompositions of one, two and five pieces.",
"In `src/topology.rs`, `Topology` allocates one output segment for each run of coincident horizontal pieces between two points instead of one per piece, and none for a run whose winding numbers cancel. Without it, n overlapping rectangles `rect(i, 0, i + n, 10)` give 2n² + 2n output segments (80,400 for n = 200), and `merge_coincident` deletes all but 6n - 2 of them. With it, they give 6n - 2 (1,198), with the same contours. `has_normal_contours` and `is_disjoint_tags` read the winding numbers on either side of a run, not the ones between its pieces, and the `slow-asserts` continuity check includes the pieces without an output segment. The test `topology::tests::coincident_horizontals_get_one_output_segment_per_run` covers it.",
"In `src/sweep/sweep_line.rs`, `intersection_scan_right` and `intersection_scan_left` step over each run of segments that end at the current height with one pass of a `TreeVec` iterator instead of one indexed lookup per segment; `src/treevec.rs` adds `TreeVec::range_rev_to` for the left scan. The output does not change.",
"In `src/curve/mod.rs`, `intersect_cubics_with_precomputed_decomp` calls the new `order_from_precomputed_approx` for each pair of pieces before `intersect_cubics_rec`. It compares the pieces' precomputed quadratic approximations over their shared y-range, with `ish_tolerance` as both tolerances, and when the result is a single `Left` or `Right` interval it records that order and skips `intersect_cubics_rec`, which would first cut both cubics with `y_subsegment`. Intervals shorter than `ish_tolerance` are left to `intersect_cubics_rec`. For `binary_op` on the stroke outline of 20,000 zigzag cubics (200,034 elements), 804,727 of 1,165,896 piece comparisons are decided this way, calls that cut cubics fall from 1,427,218 to 622,491, the median time falls from 2225.9 ms to 2109.1 ms, and the output is bit-identical. `curve::test::approximation_first_keeps_the_curve_order` compares the `CurveOrder` with and without the change for hand-built and generated pairs.",
"In `src/curve/mod.rs`, `intersect_cubics_rec` replaces the end x values in the precomputed approximations' `almost_horiz` with the end x values of the curves cut to the compared y-range, as `QuadraticApprox::from_cubic` sets them. The precomputed values belong to the whole almost-horizontal piece, so over a shorter y-range they bounded the wrong ends: for `c0 = (311.848,248.7972) (313.515,248.9023) (315.181,248.9698) (316.848,248.9988)` and `c1 = (316.909,243.813) (316.818,245.48) (316.698,247.146) (316.549,248.813)`, `intersect_cubics(c0, c1, 5e-7, 1e-6)` returned Left up to y = 248.8129995 and Ish up to 248.813, although the curves are 4.4457 apart there, and the sweep split `c0` at y = 248.813. `curve::test::almost_horizontal_piece_cut_to_the_overlap` covers the pair.",
"In `src/curve/mod.rs`, `CurveOrder::push` adds a `MetricsEntry` only when the new `metrics` feature is on. Before, it added one for every interval of every curve comparison, and `CurveOrder::flip` cloned them all, while only `examples/curve_metrics.rs` reads them. `Cargo.toml` adds the `metrics` feature, off by default, and gives the `curve_metrics` example `required-features = [\"metrics\"]`. The public `Metrics` types stay; without the feature `metrics.entries` is empty. For 150 horizontal and 150 vertical wavy cubics, each stroked 1.5 pt, `Topology::from_path` plus `contours` went from 877.1 ms to 806.8 ms (median of 7), from 1,946,341 to 1,378,442 allocations and from 163.0 MB to 117.9 MB peak heap, with the same contours. `curve::test::crossing_cubics_metrics_follow_the_feature` covers the recording and `curve::test::crossing_cubics_order_does_not_depend_on_metrics` covers the order, with and without the feature. With the feature, `curve::test::crossing_cubics_metrics_record_the_recursion_depth` checks the depth each interval records, and `curve::test::curve_order_no_overlap` checks the single entry of a comparison at one y.",
"In `src/topology.rs`, `is_disjoint_tags` no longer prints its per-segment `dbg!` output to stderr, and it visits only the output segments that `segment_indices()` lists, skipping those deleted when coincident segments were merged.",
"In `src/treevec.rs`, the tree iterators keep their stack of child iterators in a `Stack` that holds 8 levels in place and any deeper level in a `Vec`, so `iter`, `iter_mut`, `range` and `range_mut` no longer allocate on trees of up to 8 levels. The iterators visit the same elements in the same order.",
"In `src/curve/mod.rs`, `intersect_cubics` reverses a curve whose `p3.y` is below its `p0.y` before comparing it, and `intersect_cubics_with_precomputed_decomp` returns `Ish` over the common range when `sure_tolerance` is not positive or is larger than `ish_tolerance`, or `ish_tolerance` is not finite, and an empty order for curves whose vertical ranges do not overlap, which `CurveOrder::with_y_slop`, `CurveOrder::order_after` and `CurveOrder::check_invariants` accept; the docs of these functions, `from_monotone_cubic`, `solve_t_for_y` and `y_subsegment` state their input rules. In `src/topology.rs`, `Topology::bounding_box` returns `Rect::ZERO` when there are no segments.",
"In `src/curve/mod.rs`, `solve_t_for_y` divides every height by 32 before it builds the cubic's coefficients when a height or the target has a magnitude above `f64::MAX / 32`, so a segment with heights above about `f64::MAX / 3` no longer gives an infinite coefficient that makes polycool recurse until the stack overflows. `intersect_cubics_rec` and `AlmostHorizontalDecomposition::from_monotone_cubic` take the midpoint of two heights with `f64::midpoint`, so heights above about 9e307 no longer sum to infinity and leave a curve comparison with no entries.",
"In `src/sweep/sweep_line.rs`, `src/sweep/range.rs`, `src/order.rs`, `src/topology.rs` and `src/lib.rs`, `Sweeper` counts its segment comparisons and the segment positions it checks against horizontal segments and contour endpoints, n log2 n units for sorting a sweep line's n horizontal segments, one unit per 16 segments that linear searches of the sweep line step over or that binary searches for a segment's position probe, and the active horizontal segments that each step of a `SweepLineRange` visits, and `Sweeper::set_work_limit` stops the sweep, between the events of one sweep line and between the comparisons and position checks that find its changed intervals too, once it passes the limit, so no sweep line comes back past the limit; the topology also stops between the steps of a range once `SweepLineRange::work_limit_exceeded` returns `true`, and `Topology::from_paths_with_work_limit` then returns the new `Error::WorkLimitExceeded`, which `Topology::from_paths_with_limits` also returns before the topology's output passes its `output_limit`, counted as one unit per output segment plus the new `WindingNumber::storage_units` of its two winding numbers, so stacked or nearly coincident shapes no longer sweep for minutes with no way to stop them. A sweep that a range step stopped stays stopped when the limit is raised, and with an output limit the topology preallocates its output vectors for at most that many segments.",
"In `src/topology.rs`, `Topology::can_merge` merges two output segments only when the neighbor at the shared point is the adjacent piece of the same input segment, so pieces of different input curves are no longer merged, and `segs_to_path` starts at the first segment instead of panicking when every segment looks mergeable.",
"In `src/topology.rs`, `Topology::contours` with `Correctness::GoodEnough` builds paths only for the output segments on the boundary of the result, not for every output segment.",
"In `src/segments.rs`, `Segments::add_bez_path` removes the segments it pushed when a subpath is not closed. Without it, adding `M0,0 L10,0 L5,10 Z M20,0 L30,5 L25,10` returns `NonClosedPath` but keeps five segments with no entrances, the last linked to index 5 of a 5-segment arena: `check_invariants` panics with an index out of bounds, and after a closed square is added the open piece is linked into the square and the sweep visits only the square's 4 of 9 segments. With it, the arena is unchanged after the error and the square's 4 segments are all entered. The test `tests::add_bez_path_error_leaves_segments_unchanged` in `src/lib.rs` covers it.",
"In `src/topology.rs`, `contours_for_positions` finds the nearest boundary segment west of each new contour through `Topology::west_boundary`, which remembers the answer for every segment it passes, so each link of a scan-west chain is followed once per call instead of once per contour. Each segment's boundary test runs at most once, when the walk first asks for it.",
"In `src/curve/mod.rs`, `solve_t_for_y` asks for `t` to the precision of f64 instead of to within 1e-12, so comparing near-parallel curves with coordinates near 3e7 or larger no longer recurses into millions of entries.",
"In `src/curve/mod.rs`, `CurveOrder::next_touch_after(y)` walks the order once and compares each touch with `y`, so a touch that follows a touch containing `y` and a Left interval is no longer skipped, which made it return `None`.",
"`checkerboard` and `slanted_checkerboard` count the inner squares as `n.saturating_sub(1)` instead of `n - 1`, so `n = 0` gives empty collections instead of an overflow.",
"`another_monotonic_bezier` returns `arbitrary::Error::IncorrectFormat` when no piece of the generated cubic increases in y, instead of returning that cubic, which can be horizontal.",
"`F64Perturbation::apply` clamps a ulp step on a normal value to infinity when the bits reach the infinity encoding, instead of testing the sign bit, so `Ulp(2)` of `f64::MAX` gives infinity instead of NaN.",
"`ComparisonCache` in `src/order.rs` holds the comparisons of one `Segments` arena. `compare_segments` reads the arena's number, which `src/segments.rs` gives each arena and each clone, and drops the cached comparisons when the number differs from the one they were made with. Before, a cache given a second arena returned the first arena's order for the same pair of indices.",
"In `src/curve/mod.rs`, `fit_quadratic` multiplies the heights by the power of two that brings the largest to between 2 and 4 when one of them has a magnitude above 2^500, does the same to the x coordinates when one of them has a magnitude above 2^500, and scales the coefficients back, and `QuadraticApprox::from_cubic` multiplies by the `y^2` coefficient first when a product of two y coefficients is not finite, so curves taller than about 1.3e154 no longer give NaN coefficients or error bounds that make curve comparisons, and `binary_op`, return a wrong order without an error. The quadratic sign checks of curve comparisons report an unknown (or close) order for a quadratic with a NaN or infinite coefficient. In `src/curve/line.rs`, `intersect_lines` scales the x coordinates and the tolerance by 1/16 when one of them is above 2^1019 and the overlap arithmetic is not finite, and works with half of each height for lines more than `f64::MAX` tall, so coordinates near `f64::MAX` no longer give a wrong order. Finite overlap arithmetic uses the unscaled values, including a subnormal gap beside a distant endpoint. In `src/geom.rs`, `Segment::at_y` and `Segment::to_kurbo_cubic` give finite results for a straight segment more than `f64::MAX` long on either axis. `src/curve/mod.rs`, `src/curve/line.rs`, `src/geom.rs` and `src/lib.rs` add tests for it.",
"In `src/lib.rs`, `src/segments.rs`, `src/sweep/sweep_line.rs` and `src/topology.rs`, `binary_op_with_eps` returns the new `Error::InvalidEps` for an `eps` that is NaN, infinite, zero or negative, and the `Topology` constructors and `Sweeper::new_with_correctness` replace an `eps` that is NaN, infinite, not positive, or below `64 * f64::EPSILON` times the largest coordinate magnitude (and at least 64 times the spacing of subnormal floats) with that value, so a bad `eps` no longer gives a wrong region, a hang or a stack overflow. In `src/curve/mod.rs`, `intersect_cubics` and `intersect_cubics_with_precomputed_decomp` raise a positive `ish_tolerance` below `4 * f64::EPSILON` times the curves' largest x coordinate magnitude (and at least four times the spacing of subnormal floats) to that value and a positive `sure_tolerance` below half of it to half of it, and `intersect_cubics_rec` returns `Ish` for an interval whose midpoint rounds to one of its ends instead of recursing on it again. In `src/position.rs`, `approximate` stops halving such an interval, so `compute_positions_correct` always advances.",
"In `src/curve/mod.rs`, `intersect_cubics_rec` calls the new `order_from_control_points` after cutting both cubics to the shared y-range and before building quadratic approximations. It takes the smallest and largest gap between matching control point x coordinates and widens that range by the largest control point y gap times a bound on `|dx/dy|` from the control polygon (`max_slope`); when the widened range stays more than `ish_tolerance` on one side of zero it records `Left` or `Right` for the whole range and does not recurse. Before the change, a tall S-shaped cubic and a copy moved 10 * `ish_tolerance` sideways took 4,096 recursion leaves at height 1e6 and 16,384 at height 1e8; now each takes one. `curve::test::near_parallel_cubics_are_ordered_without_recursing`, `curve::test::control_point_order_is_sound` and `curve::test::control_point_order_keeps_band_contours` cover it.",
"In `src/order.rs`, `ComparisonCache` stores one `CurveOrder` per pair of segments and flips it for a lookup in the other order, and `ComparisonCache::evict_ended` drops the pairs in which a segment ends above a given height once the cache has doubled since its last scan; `Sweeper::advance` in `src/sweep/sweep_line.rs` and `compute_positions` in `src/position.rs` call it, so the comparison caches no longer keep every compared pair until the sweep ends.",
"In `src/position.rs`, `PositionedOutputSeg::from_cubic` and `from_quad`, and `next_subsegment` for the copied pieces of the strict layout, cut the input curve at the points nearest the output piece's end points, found by Newton steps from the parameters `solve_t_for_y` gives (restarted from the nearest point of the whole curve at a point where a step cannot leave, such as a repeated handle), and move the piece onto its end points: each end moves sideways with its handle (a quadratic's control point by the mean of its ends' moves), and the heights are mapped linearly, so the piece stays monotonic in `y`. `from_cubic` and `from_quad` used to move the inner control points sideways by their height's share of the gap at each end, and `next_subsegment` moved only the end points. Where a curve is almost flat at an end, a tiny error in that end's height is a large gap: the union of `M0,0 C0,1000 300,1000 1000,1000 L1000,2000 L-1000,2000 Z` with a copy moved by (-3.26e-6, -4.66e-8) at eps 1e-6 gave an outline 0.487 from both inputs and 377.8 too large in area, and its union with the rectangle `M998.37,500 L1500,500 L1500,1500 L998.37,1500 Z` gave one 1.05 from both inputs. `src/position.rs` adds the `repeated_end_handle_stays_near_the_end`, `flat_end_shift_stays_near_the_end`, `flat_end_pieces_stay_monotonic`, `flat_end_union_stays_on_the_inputs` and `flat_end_crossing_stays_on_the_inputs` tests for it.",
"In `src/sweep/sweep_line.rs`, `Sweeper::scan_for_removal` starts its intersection scans from the nearest segment left of the removed slot that does not end at the current y, so a crossing between the live segments on both sides of the gap is no longer missed when the slot's left neighbor ends at that y.",
"In `src/lib.rs`, `binary_op` returns the new `Error::FeatureBelowTolerance { eps }` when its automatic `eps` (64 * `f64::EPSILON` times the largest coordinate magnitude) is above `MIN_AUTO_EPS` (1e-6) and an input subpath at least `4 * MIN_AUTO_EPS` wide and high is narrower than `FEATURE_EPS_RATIO * eps` (4 * eps) in x or y, measured on the subpath's exact bounding box. Without it, one far point raises `eps` for every segment and `binary_op` returns `Ok` without the small subpaths: with a triangle at 3e13 (eps 0.43) a 0.3 x 10 sliver near the origin is lost, and at 1e15 (eps 14.2) most of a 10 x 10 square is. The docs of `binary_op` and `binary_op_with_eps` state that `eps` is one absolute tolerance for every segment and that the check does not see a thin part of a larger subpath or a narrow gap between subpaths. The test `tests::far_point_eps` covers it.",
"In `src/sweep/sweep_line.rs`, intersection scans and insertion searches run at the point where two segments start compare them without storing the comparison; `src/order.rs` adds `ComparisonCache::with_order`, which uses a stored comparison or computes one without storing it, and counts each call toward the sweep's work limit as `compare_segments` does. `n` segments that start at one point and do not cross later store `O(n)` comparisons instead of `O(n^2)`; comparisons made at a later crossing are stored as before. The output does not change.",
"In `src/segments.rs`, `update_enter_exit` sorts only the new entrances and exits and merges them into the sorted ones, in the order a stable sort of the whole list gives, instead of sorting the whole list on every call. `Segments::add_bez_paths` and `Segments::add_non_closed_bez_paths` add a collection of paths and merge once, as `add_closed_polylines` and `Topology::from_paths` already do, and `add_bez_paths` removes the segments of a path with an open subpath before it returns the error. Without it, adding 2,000 triangles one at a time from the top row down takes 6,006,993 entrance comparisons, and adding n paths one at a time takes time quadratic in n. The tests `segments::tests::add_bez_paths_matches_repeated_add_bez_path`, `segments::tests::add_non_closed_bez_paths_matches_repeated_add_non_closed_bez_path`, `segments::tests::add_bez_paths_stops_at_an_open_path`, `segments::tests::merged_entrances_and_exits_match_a_full_sort` and `segments::tests::paths_added_in_height_order_are_not_sorted_again` cover it.",
"In `src/curve/mod.rs`, `intersect_cubics_rec` checks that both curves are on the interval's side at each interval end after re-centering only when the `slow-asserts` feature is on, as the crate's other expensive self-checks are. Re-centering rounds each end, and with finite curves near 1e8 the curves at a rounded end were on the wrong side by up to 69 times `ish_tolerance`, so debug builds panicked with `assertion failed: solve_x_for_y(cubic0.c, y0) > solve_x_for_y(cubic1.c, y0)` or one of its three companions. Release builds already skipped the check, and the change gives debug builds the release result. The test `curve::test::crossing_at_large_coordinates` covers it.",
"In `src/curve/transverse.rs`, `transversal_after` (and `transversal_before`, which calls it) returns `false` when either dy/dt bound is not positive, instead of cross-multiplying the slope bounds, which reverses the comparison for a negative bound.",
"In `src/curve/mod.rs`, `CurveOrder::with_y_slop` keeps the comparison's `metrics` when it changes the entries, instead of returning empty metrics. `y_slop_keeps_metrics` tests it.",
"In `src/sweep/sweep_line.rs`, the doc comment of `SweepLine::line_segment` says it can return a segment that has exited, which `segment_range` leaves out.",
"In `tests/regression.rs`, the test escapes `CARGO_MANIFEST_DIR` with `glob::Pattern::escape` and fails when it finds no inputs, so a checkout path containing `[` no longer gives a passing run of zero cases.",
"In `examples/bus.rs`, the SVG's `viewBox` is the size of the one composite the example draws, with its padding, instead of 3 composites wide and 2 tall.",
"In `src/sweep/range.rs`, `SweepLineRange::events` starts a horizontal fragment at the later of the previous position and the fragment's own start, instead of unwrapping the previous position, which panicked after `increase_x` at the first position and reported a fragment that `increase_x` added from the earlier position. Two tests cover both cases, and the doc comment on `increase_x` says which events it skips.",
"In `src/topology.rs`, building a `Topology` keeps each input segment's open output segments in an inline queue of three that lives only for the sweep, keeps the segment buffers for the whole sweep instead of allocating them per sweep-line range, clones the winding number for horizontals only when one starts at the point, and `can_merge` returns early at a point that is not simple; `segs_to_path` reverses first halves into one reused buffer instead of calling `reverse_subpaths` for each. The nine topology snapshots in `src/snapshots/` no longer list `open_segs`. The contours do not change.",
"`order_from_precomputed_approx` returns no order for a piece whose approximation is almost horizontal, because such an approximation carries the end x values of its whole piece.",
"In `src/sweep/sweep_line.rs` and `src/topology.rs`, two changes make clippy 1.100.0 with `-D warnings` and every feature pass on every registered target: the `slow-asserts` invariant check passes `self.line` to `assert!` without a `&`, and `Contours::grouped` iterates over the contours with `enumerate` instead of indexing them. The behavior does not change.",
"In `src/curve/mod.rs`, when the chord that `fit_quadratic` takes for a very short curve gives a constant term that is not finite, `fit_quadratic` takes the line through the curve's start point with the chord's slope, so a curve near x = 1e305 with heights near 1e4 no longer gives a NaN coefficient. In `src/curve/line.rs`, `line_at_ys` scales the x coordinates by 2^600 before the weighted sum and back after it when both have a magnitude below 2^-500, so a subnormal x coordinate no longer rounds to 0. Both files add tests for it."
],
"files": [
{ "path": ".cargo_vcs_info.json", "source_sha256": "47fba6a9dbdf445a5c97f783c9be62093035f9d5e5cdc2cf3216ad8259bcd8fc", "source_git_blob": null, "sha256": "47fba6a9dbdf445a5c97f783c9be62093035f9d5e5cdc2cf3216ad8259bcd8fc" },
{ "path": ".gitignore", "source_sha256": "88b59092499ae05234330eb7d0b01e953e969caf05261530e3765eef02536cf0", "source_git_blob": null, "sha256": "88b59092499ae05234330eb7d0b01e953e969caf05261530e3765eef02536cf0" },
{ "path": "CHANGELOG.md", "source_sha256": "70df2144c3ab6858e3857e159590116f7859f3b077ac60fd4a2f510707894dc7", "source_git_blob": null, "sha256": "70df2144c3ab6858e3857e159590116f7859f3b077ac60fd4a2f510707894dc7" },
{ "path": "Cargo.lock", "source_sha256": "42d3aea0c577080ff5a23e3213a05a9ca9f0437584ac3f75aeb6d29941417f0c", "source_git_blob": null, "sha256": "42d3aea0c577080ff5a23e3213a05a9ca9f0437584ac3f75aeb6d29941417f0c" },
{ "path": "Cargo.toml", "source_sha256": "2f925d646204059bb3b4e980704b04e9accc5184d9dd24e3ef9ed1751ac6095b", "source_git_blob": null, "sha256": "fa9d9c9e4213354b0d0b3a2c226f0377d2adbc11e7e15d792c8703c009b3340c" },
{ "path": "Cargo.toml.orig", "source_sha256": "9ce4a22c92543eb8a2caa9e59ec1e8933c8975f12bad6fef731a0c0fe9c34ced", "source_git_blob": null, "sha256": "9ce4a22c92543eb8a2caa9e59ec1e8933c8975f12bad6fef731a0c0fe9c34ced" },
{ "path": "LICENSE-APACHE", "source_sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30", "source_git_blob": null, "sha256": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30" },
{ "path": "LICENSE-MIT", "source_sha256": "23c23145f6eac25c28cdcc03d38506a5712a9a8cffb5bd5301457f6173ea696e", "source_git_blob": null, "sha256": "23c23145f6eac25c28cdcc03d38506a5712a9a8cffb5bd5301457f6173ea696e" },
{ "path": "README.md", "source_sha256": "cb35a926cacf52c4d423ec192c9c78e5a1f73057a3658f1b9c47f43d2718cb9e", "source_git_blob": null, "sha256": "cb35a926cacf52c4d423ec192c9c78e5a1f73057a3658f1b9c47f43d2718cb9e" },
{ "path": "benches/linebender_logo.rs", "source_sha256": "d10867f43439d37f0e1da5d30eaed9ab3bfbe655ed47212f65dc20ab4db65cb3", "source_git_blob": null, "sha256": "d10867f43439d37f0e1da5d30eaed9ab3bfbe655ed47212f65dc20ab4db65cb3" },
{ "path": "benches/painted_dreams.rs", "source_sha256": "073008db93840d380710e13ed3ae38e08cb823f10c12e5f838dac1ccf37eaecf", "source_git_blob": null, "sha256": "073008db93840d380710e13ed3ae38e08cb823f10c12e5f838dac1ccf37eaecf" },
{ "path": "benches/synthetic.rs", "source_sha256": "7ce59bef2e1c4f28b00cb89feb15bc71ca4b098a8d27e7b02ea699aca9bcc810", "source_git_blob": null, "sha256": "7ce59bef2e1c4f28b00cb89feb15bc71ca4b098a8d27e7b02ea699aca9bcc810" },
{ "path": "docs/sweep.typ", "source_sha256": "4766082c8672a7bb4356b5581043489c13b4e3fb8931ba3a5f0a473fab0172f3", "source_git_blob": null, "sha256": "679ddf9c11eec7883661bde12c14fd0dce3eed634d690a1945fb4386dfad70f4" },
{ "path": "examples/boolean_op.rs", "source_sha256": "3b38a1ccda7e736cce4b191a3a45ab4824c4c365190e3eb637b2fb39b5996c9f", "source_git_blob": null, "sha256": "7b4f4fc94d3b1fd9b9ee06622b2e8c38bd6c85697d21505b09765139283df576" },
{ "path": "examples/bus.rs", "source_sha256": "e206a08be73899f564188052c8ecc15526b54606e52ee2935a64ce6b5723da33", "source_git_blob": null, "sha256": "cadc2829c1f4dde6948e0246286a07e0c1cf6bb71960859a3f2b77020cd84691" },
{ "path": "examples/curve_metrics.rs", "source_sha256": "0db6a5327fd2119a03a9a66624fea3e04b6bbb519655667ad30487aee6c787d2", "source_git_blob": null, "sha256": "18bf2447d7338113b578964b359ee5c4f706be570721abec049ea01d13705ea1" },
{ "path": "examples/visualize_op.rs", "source_sha256": "a5210ed389ceb1e9c43b952b992e29e65065d129d2b2f4be62fffc747376bf79", "source_git_blob": null, "sha256": "e7d3e3f24c346dcabb1072039822c79d40200b313de91c14696c31e1d78c8fc2" },
{ "path": "examples/winding-numbers.rs", "source_sha256": "4a756c908564703b165257001e73d2f7235476cd536580091f3a7a70d2eab242", "source_git_blob": null, "sha256": "7ed7689995b44c5c59ee5bf77eb0a5aeb00ff45de1b7e0fa8f74b88dc8d0ea95" },
{ "path": "proptest-regressions/sweep/sweep_line.txt", "source_sha256": "f5311edf1c0c4d1574bb7b24ed1d1c66106d9949214014d0a8479f685938dc98", "source_git_blob": null, "sha256": "f5311edf1c0c4d1574bb7b24ed1d1c66106d9949214014d0a8479f685938dc98" },
{ "path": "proptest-regressions/sweep/weak_ordering.txt", "source_sha256": "b5b183ab470399c15246457d8a1a35cafb49fee120d6777dfdd563bfdbadda52", "source_git_blob": null, "sha256": "b5b183ab470399c15246457d8a1a35cafb49fee120d6777dfdd563bfdbadda52" },
{ "path": "proptest-regressions/topology.txt", "source_sha256": "49ff0b5b370f082984276d5312f03b1fc96ef0dd218f9efd7b084b11abbb9d19", "source_git_blob": null, "sha256": "49ff0b5b370f082984276d5312f03b1fc96ef0dd218f9efd7b084b11abbb9d19" },
{ "path": "src/arbitrary.rs", "source_sha256": "9c3753a40cfea2528a546295d39e0513537db5a3411a931fccea063873d95750", "source_git_blob": null, "sha256": "188cca0f6b4d40539e0d5ae9b38d72a109ac297aeaac69dd43bbbafa038da17a" },
{ "path": "src/curve/line.rs", "source_sha256": "07aebead4b0050410a3f9f28b66062b6016c115df58e2b2669470263cd352f3e", "source_git_blob": null, "sha256": "d7f9c100f483eb4307f55ae5e3841cc6bb14544bbb0326f6c03c2f297e3b5e39" },
{ "path": "src/curve/mod.rs", "source_sha256": "36a8dbe96ac1d3bec307dc63b504206ec7fdfc11d10799fbb1a8990c29b8c5f2", "source_git_blob": null, "sha256": "20c73c9f08ec9967408d7acadb97e2092a13459fe1adcc68e08868d72c2f24c7" },
{ "path": "src/curve/split_quad.rs", "source_sha256": "b8aae4ce7c16fa623724f667e1058130a9c7eed693b5b01e8b9e16632b8ec45f", "source_git_blob": null, "sha256": "b8aae4ce7c16fa623724f667e1058130a9c7eed693b5b01e8b9e16632b8ec45f" },
{ "path": "src/curve/transverse.rs", "source_sha256": "be9c695531f4cb0fe73af13e78040b51b9476c193d84562e701aadd07b3fd06e", "source_git_blob": null, "sha256": "e1b8658f2b6e0e502bc81d16c393a16a426b6cc1572477ca809ca861fc005de9" },
{ "path": "src/generators.rs", "source_sha256": "cc9f2441546db9204219294c354449809dda77dffad06fec8a30f45df01e6fef", "source_git_blob": null, "sha256": "24b25da4c07a9361b72b324564e2aaa4c2dd9f7d9a6e27dfb1cb1b3d08104edf" },
{ "path": "src/geom.rs", "source_sha256": "9878ffa6d4a13fa2c9149741c137205ca01acb626a5b9f86a3db75cf91b63a08", "source_git_blob": null, "sha256": "b80ff5363060e2e1d1603566df7c517e1881c1904201fc037ab674b59d99da8e" },
{ "path": "src/lib.rs", "source_sha256": "761c153c3b5c449569ff85c571344b9252ea64f7f0b0424fb4819041b03d13c6", "source_git_blob": null, "sha256": "c6cc6ac747eb4865378da59e79790baa1df867d7ae00ab339d39fa706a347aad" },
{ "path": "src/num.rs", "source_sha256": "39ff85da50c500ce91cf6dea81aedc0dcca1db5e7d0506696dde2da118e93a2a", "source_git_blob": null, "sha256": "39ff85da50c500ce91cf6dea81aedc0dcca1db5e7d0506696dde2da118e93a2a" },
{ "path": "src/order.rs", "source_sha256": "7e5b04eae8af134abb032e995f1d3c2ac473822923dfee8d463d9ade6ffeb596", "source_git_blob": null, "sha256": "316b6cc99a15fa82063ec27ef14e3cbad8c7f380c82d750cebc89953c848ac67" },
{ "path": "src/perturbation.rs", "source_sha256": "fa274a822bbdf65f8e53e403eef78034dd87964b3f1d3134a064df4ec8cef9c5", "source_git_blob": null, "sha256": "5030efede9c94b5837f70f2eb3e5447dec772ea1aac3800d162d2fb26da0b929" },
{ "path": "src/position.rs", "source_sha256": "dfa70840805ecccf5b7eb6122921e46ca60c24cb7b3c17f3b55ffc2549368ab0", "source_git_blob": null, "sha256": "86106cea0fe52d6421b5a53720f267271eb04027686c76955b8c77fa14fa1f43" },
{ "path": "src/segments.rs", "source_sha256": "379f9455120492d237cb5a62b3fc06da018a72e2eb75bbfcd61b4cce501d9bbc", "source_git_blob": null, "sha256": "047adf1bfa7ba73eae668d327ef49395c4b7251923799778fcb79afb0ad7a824" },
{ "path": "src/snapshots/linesweeper__tests__empty_horizontals.snap", "source_sha256": "e319881853e889badf6524f19af4cd6f112e8dd71bdc516826f4463134a82244", "source_git_blob": null, "sha256": "e319881853e889badf6524f19af4cd6f112e8dd71bdc516826f4463134a82244" },
{ "path": "src/snapshots/linesweeper__tests__two_squares.snap", "source_sha256": "01961e0311a5af3b8f13eb52a2a7112560c47cf86771c04e40475dc6f15a0846", "source_git_blob": null, "sha256": "01961e0311a5af3b8f13eb52a2a7112560c47cf86771c04e40475dc6f15a0846" },
{ "path": "src/snapshots/linesweeper__topology__tests__diamond.snap", "source_sha256": "cfaefd620a0a3d1376861bca09cd7c658ef00a32635b88f1b259a9b39cd15502", "source_git_blob": null, "sha256": "ee40ad81bbb17f73ac710806aac9c8060e47a3843219dac82c0c0cc9ce18a412" },
{ "path": "src/snapshots/linesweeper__topology__tests__inner_loop.snap", "source_sha256": "d6259594f87cc91bf015e9086df94f000c265164d6d361beda4ef0e422947d91", "source_git_blob": null, "sha256": "98030bc51d64ec78af93167bb810b09269195b992c9cf9d40883fa797437cf62" },
{ "path": "src/snapshots/linesweeper__topology__tests__merge_monotonic_segs.snap", "source_sha256": "871db61c9bf44a5d50cd63f3682c72ac19b1ae5d4752d911ac75a2e94c9f8cf5", "source_git_blob": null, "sha256": "7f9226189c5894be5cb92a84ba32f32fd67b3ed871a090a6b844eb2a4e54668c" },
{ "path": "src/snapshots/linesweeper__topology__tests__merge_monotonic_segs_with_cut.snap", "source_sha256": "0c67eb18012af31d9d5a46ce16e49f3033a4a7bd986bdc41d14cb3d4ce7adf39", "source_git_blob": null, "sha256": "79759a60168b16613aa82b389c46efb05552be33310ab86e3946593b5f726c34" },
{ "path": "src/snapshots/linesweeper__topology__tests__nested_squares.snap", "source_sha256": "212e53e762e633ae8316ce1ba16d94c4f6608573dac6ec3325bf7a9e592c6f8e", "source_git_blob": null, "sha256": "762ad54b122f96bd94248fe1559ea08d680fc92d7e5965e313c20f875673e827" },
{ "path": "src/snapshots/linesweeper__topology__tests__square.snap", "source_sha256": "c0835f86603b9f3aabcb0da22c1dcf597c6575ce9ca72d5ae95bf125f40020e8", "source_git_blob": null, "sha256": "0dbf29a38ba50187aa23fde34022e849d6eaad393d33da6bd5d23ce037db4f55" },
{ "path": "src/snapshots/linesweeper__topology__tests__square_and_diamond.snap", "source_sha256": "6dffc3dc182e133222481d562de20b5e9e39d0ee343088c42f29868d97d1b304", "source_git_blob": null, "sha256": "83acb5cc2026c9cd2056e7ad09010fa648f85ff6f8f6a310b2d8aadee3c6d26b" },
{ "path": "src/snapshots/linesweeper__topology__tests__square_with_double_back.snap", "source_sha256": "b6709e07eb96d1148269caa9ea39663bb432524e892fffe10f784fa44edb29e0", "source_git_blob": null, "sha256": "2223a32b4b5ce6bc701c4e816664675a74ab7db67c74f078eb2c146e8804fbfa" },
{ "path": "src/snapshots/linesweeper__topology__tests__squares_with_gaps.snap", "source_sha256": "52a5e09ecd081f7ace976692a5d5e3549210441f78ad1dc25cd98a4d9d5dceb6", "source_git_blob": null, "sha256": "0d50f2771f16c5e70e9c2d19e24bae9dd6f7add9caa4a04185478ce69d5c67a8" },
{ "path": "src/sweep/mod.rs", "source_sha256": "467f783e605be9c5959b10adc3ff53966ca0e95599b3b509bfacb154e82b9257", "source_git_blob": null, "sha256": "467f783e605be9c5959b10adc3ff53966ca0e95599b3b509bfacb154e82b9257" },
{ "path": "src/sweep/output_event.rs", "source_sha256": "220dc6847871ffcd0f782122b55db0a47522866892fb0fb5dd4255cea975fc83", "source_git_blob": null, "sha256": "066cfd6a028c8494cfe2a40c0e2b44557d6e85a305d9a2e83bde0623c513c45d" },
{ "path": "src/sweep/range.rs", "source_sha256": "924274de47783179f52cea99b370297e8c8d5f05500df4a6ff31e9b927dadd06", "source_git_blob": null, "sha256": "d81d938f94aecd68b2f2fd2d8c76c1f3ccb459f1b96bcac054937e1ba9b16164" },
{ "path": "src/sweep/snapshots/linesweeper__sweep__sweep_line__tests__conservative_line_order.snap", "source_sha256": "236d020f646edc3ab199888fd52a0e7d9939bbb1d8b13b6fed52ce508c0e6667", "source_git_blob": null, "sha256": "236d020f646edc3ab199888fd52a0e7d9939bbb1d8b13b6fed52ce508c0e6667" },
{ "path": "src/sweep/snapshots/linesweeper__sweep__sweep_line__tests__regression_position_state.snap", "source_sha256": "be9535fe81604b59e369e6e2c61a67e0203429166dd23e51cd90c644fa3e09db", "source_git_blob": null, "sha256": "be9535fe81604b59e369e6e2c61a67e0203429166dd23e51cd90c644fa3e09db" },
{ "path": "src/sweep/snapshots/linesweeper__sweep__sweep_line__tests__square.snap", "source_sha256": "b35c3e6a38d5ecdd8acf315ba0b0bd6485cd8b40193fdd76bd446bdfdb6eda77", "source_git_blob": null, "sha256": "b35c3e6a38d5ecdd8acf315ba0b0bd6485cd8b40193fdd76bd446bdfdb6eda77" },
{ "path": "src/sweep/snapshots/linesweeper__sweep__sweep_line__tests__square_and_diamond.snap", "source_sha256": "3f01a76fb7ff4aef0fd55fd869602d4a2b69fff1bd65632f406b275b5d6af600", "source_git_blob": null, "sha256": "3f01a76fb7ff4aef0fd55fd869602d4a2b69fff1bd65632f406b275b5d6af600" },
{ "path": "src/sweep/snapshots/linesweeper__sweep__sweep_line__tests__two_squares.snap", "source_sha256": "79e3c95e563a66c0ce244125470a106a18dfe29f276b732defd305406c873c7e", "source_git_blob": null, "sha256": "79e3c95e563a66c0ce244125470a106a18dfe29f276b732defd305406c873c7e" },
{ "path": "src/sweep/sweep_line.rs", "source_sha256": "822b261f682911ea0c0370eaf17d9201a1e639b315359dcb6a3b877a229816e3", "source_git_blob": null, "sha256": "d7264599d1c21e4c2e53c934a08cf2b0896ad9766cfa832bfba3aaca1b8affcf" },
{ "path": "src/topology.rs", "source_sha256": "9c9b48bc3853884425127e2d64e8ed957ba0d27e1696e2c457e95282e52d6a5b", "source_git_blob": null, "sha256": "aa95cc45cb14a18dbcf36b8153d9fbd712b783a59cafce6feccae37351831bc2" },
{ "path": "src/treevec.rs", "source_sha256": "d88b9fbf02fa9f318560e1d483d465555f2b696ae12c00f8e4f5b71ea6779445", "source_git_blob": null, "sha256": "e2ccc6bb0f936ac6c6fd09077164a7c5757edb970c1adeea54b3f2f2f2eb6e78" },
{ "path": "src/typed_vec.rs", "source_sha256": "3e9a2675b8a40d8fc4df0575bd9d0d16b5604d18e9b78638dd5a612b28fc4c30", "source_git_blob": null, "sha256": "3e9a2675b8a40d8fc4df0575bd9d0d16b5604d18e9b78638dd5a612b28fc4c30" },
{ "path": "tests/fonts.rs", "source_sha256": "081604ebf560a19ff0427efd9a17eaaa0a3b46ad0bf58323fd6e21b6c0764400", "source_git_blob": null, "sha256": "081604ebf560a19ff0427efd9a17eaaa0a3b46ad0bf58323fd6e21b6c0764400" },
{ "path": "tests/paperjs.rs", "source_sha256": "6ff2a3178f13cde3d7304101ae592ae32b4b2734069f5fc56a532a4883d9f782", "source_git_blob": null, "sha256": "f98edbb322355ce6d2e318b73d27777cbe25413708a06429d03eddada91c7908" },
{ "path": "tests/regression.rs", "source_sha256": "b2341934aa001ba26c688a1ca3a7ee55d29105d67b6036bb05bb367b69976fce", "source_git_blob": null, "sha256": "cd54aaed5ceea3e28da6cbdcf34fa9701dd2c94098c65302208862fdd5ebce09" },
{ "path": "tests/regression/awesome_0.txt", "source_sha256": "6f7dfbb7ca62463843c058617d557553fdc8d8b3add512bee8f813b37a256611", "source_git_blob": null, "sha256": "6f7dfbb7ca62463843c058617d557553fdc8d8b3add512bee8f813b37a256611" },
{ "path": "tests/regression/graphite_0.txt", "source_sha256": "f5d9e94ae6fab7d29f8a3aa0ccd9d96fc9b709c0ee3fbae8b000bec8c33628b9", "source_git_blob": null, "sha256": "f5d9e94ae6fab7d29f8a3aa0ccd9d96fc9b709c0ee3fbae8b000bec8c33628b9" },
{ "path": "tests/regression/graphite_1.txt", "source_sha256": "96f147b6fc95a71600f60541cc687598e04e9d810dd8a3c57b0f5d8220a72823", "source_git_blob": null, "sha256": "96f147b6fc95a71600f60541cc687598e04e9d810dd8a3c57b0f5d8220a72823" },
{ "path": "tests/regression/graphite_2.txt", "source_sha256": "7c9e32b68efe68bf238ca9f42a5666cc1b792e8f8bfece9a7c128c08734f4072", "source_git_blob": null, "sha256": "7c9e32b68efe68bf238ca9f42a5666cc1b792e8f8bfece9a7c128c08734f4072" },
{ "path": "tests/regression/graphite_3.txt", "source_sha256": "46f66d5d9f753386df2f163dfcda8b40e727350f623e4e2fb309a094912c82ce", "source_git_blob": null, "sha256": "46f66d5d9f753386df2f163dfcda8b40e727350f623e4e2fb309a094912c82ce" },
{ "path": "tests/regression/graphite_4.txt", "source_sha256": "84f07e36e3af11f8946ce00890cf396dca15744c195d51ea173f48f354732245", "source_git_blob": null, "sha256": "84f07e36e3af11f8946ce00890cf396dca15744c195d51ea173f48f354732245" },
{ "path": "tests/regression/graphite_5.txt", "source_sha256": "299d27228f1d22fd1c8d0be895357766a948165def542d54ebc19933361b277a", "source_git_blob": null, "sha256": "299d27228f1d22fd1c8d0be895357766a948165def542d54ebc19933361b277a" },
{ "path": "tests/regression/graphite_6.txt", "source_sha256": "0be4c7579159d43f9a9dc04bbd3341b5ac5fc3e49f3518b278dda23506069301", "source_git_blob": null, "sha256": "0be4c7579159d43f9a9dc04bbd3341b5ac5fc3e49f3518b278dda23506069301" },
{ "path": "tests/regression/graphite_7.txt", "source_sha256": "da02afc16a0336680a65508b4f6a13df5a9af04f05a49c66bd1cfd6975827719", "source_git_blob": null, "sha256": "da02afc16a0336680a65508b4f6a13df5a9af04f05a49c66bd1cfd6975827719" },
{ "path": "tests/regression/sasha_0.txt", "source_sha256": "b4eb70030ce7f8eae68f074e2ce93edb60ec1e6f879a3d8238d58447a9961948", "source_git_blob": null, "sha256": "b4eb70030ce7f8eae68f074e2ce93edb60ec1e6f879a3d8238d58447a9961948" },
{ "path": "tests/snapshots.rs", "source_sha256": "634fdebb7d7c7c70a1b47431a9407be640ea19d6cec79f200555bf2cd2b2dde0", "source_git_blob": null, "sha256": "634fdebb7d7c7c70a1b47431a9407be640ea19d6cec79f200555bf2cd2b2dde0" }
],
"omitted_files": [
{ "path": ".config/selfci/ci.yaml", "source_sha256": "3941bf98a6cffce943f7a041ab520626f853090f1e8bd0e2c3df2672c5fa064f" },
{ "path": ".gitmodules", "source_sha256": "704763bd0f97af4af5f5fad27e9a4a6d6d1fe77c375cf6d5f917dd089e069fb3" },
{ "path": ".helix/languages.toml", "source_sha256": "194817d23a58f1b399040b223e9da175433bb21ab20785a011c44524475598c6" },
{ "path": ".typos.toml", "source_sha256": "8cba77a39a9e49ba79635a7da8aa0592072806590aa28c27194b9ba5d53ed6fb" },
{ "path": "docs/assets/logo.svg", "source_sha256": "79857f5989a6310e6990e41e171dbb8ec2acfc6d6b28383d2ef4c844bbc758a4" },
{ "path": "examples/linebender.svg", "source_sha256": "3fe69ac9aeeb62011157e96ea4185e016574b24489606010b97dc7eab0920679" },
{ "path": "flake.lock", "source_sha256": "244d67f7aae447190e6c15fdfc9132c190f97568f2c67dee1d9a2e06982c9b1f" },
{ "path": "flake.nix", "source_sha256": "43c8c31bb919717276309ae7e3d7e329dbe641002669177d6f42fcc7ebdf24d5" },
{ "path": "nix/gungraun-runner.nix", "source_sha256": "72701531fbd34ee859b2e467f2c7e47ee5f4ed3a2c938c07ba66fe5911c37537" },
{ "path": "nix/kompari.nix", "source_sha256": "e22dbf5db27c79f423855571f11cc47dd90defe17d8e32423571cf7da3956174" },
{ "path": "tests/fonts/Inconsolata-Regular.ttf", "source_sha256": "0f11ac40d1618e1aa1adb7322a14980a0b0c943421124022073f83236d15f0d5" },
{ "path": "tests/snapshots/inputs/output/merge_back.svg", "source_sha256": "2a41a52604734f49b89b04e5895e02d31554bfce4dce84519553316663b07169" },
{ "path": "tests/snapshots/inputs/position/close_ranges.svg", "source_sha256": "57634495e5922d24e3dde387f3cdf0d741a5724ecc55ff53da2713e11049df38" },
{ "path": "tests/snapshots/inputs/position/do_not_cancel.svg", "source_sha256": "21d05393ced07150213bfa4a8ab459e95fdd23724b4691cd75e33aa53e03f44c" },
{ "path": "tests/snapshots/inputs/position/more_overlapping_close_ranges.svg", "source_sha256": "dd71994d18fe9a664a863f8d69e770fe9c0a939bb74e6990b8f12ce946fb0c67" },
{ "path": "tests/snapshots/inputs/position/near_horizontal_approximation.svg", "source_sha256": "38f1a168754fee189248bf18eef0826b6b12c4af26a346a08df75390d23c56be" },
{ "path": "tests/snapshots/inputs/position/overlapping_close_ranges.svg", "source_sha256": "ec6fd75e4f42a48f460705d601daa4294062753dbb7fb62b682ea05fd071f623" },
{ "path": "tests/snapshots/inputs/position/transverse.svg", "source_sha256": "1e55f07b3fd6aa738bb5c412f833bdd041d6a6259a5f08635d6278301746687b" },
{ "path": "tests/snapshots/inputs/position/transverse_triangle.svg", "source_sha256": "22e09ffc98035e81b081c03ff978734b09baeca3f24efb29319c7f2f229f3c76" },
{ "path": "tests/snapshots/inputs/sweep/just_cross.svg", "source_sha256": "f0fbd780f2272be21080f3570b6c915c5da172ae39efbc86afd30d9d8713e20e" },
{ "path": "tests/snapshots/inputs/sweep/just_touch.svg", "source_sha256": "3d6116a9849c9e5b6881a868d24fa617c772f9ffdeddb4328fa2b5024306c42c" },
{ "path": "tests/snapshots/inputs/sweep/square_diamond_cross.svg", "source_sha256": "aacfe86de2509680eddfba260c8c3782e1e6980ffde321e628106257975e6ee3" },
{ "path": "tests/snapshots/inputs/sweep/square_diamond_touch.svg", "source_sha256": "eefe49aa759bc8dcc811c46b6c5b36ebbed2e6efaba14c0c513265d76abd7f1f" },
{ "path": "tests/snapshots/snapshots/correct/output/merge_back.png", "source_sha256": "edf5d1fe510003e2d2099351c35f6af709d54457b3087f3dd6803df5d78482bf" },
{ "path": "tests/snapshots/snapshots/correct/position/close_ranges.png", "source_sha256": "902613b28f47e8619df72f389190d5b9673ba1197a817988b9a0afb52e901a83" },
{ "path": "tests/snapshots/snapshots/correct/position/do_not_cancel.png", "source_sha256": "ce8ceb7bc8ebb812440bcdc8f1100b4062b74d469b741dfa2fcf67261b9c7ee3" },
{ "path": "tests/snapshots/snapshots/correct/position/more_overlapping_close_ranges.png", "source_sha256": "3d7b5d648a3d6591687f4161419cd26ef88d92677d5abee357ce1e6d81d748ad" },
{ "path": "tests/snapshots/snapshots/correct/position/near_horizontal_approximation.png", "source_sha256": "21f275cd6a16ab81c4f297c8c2bcf1e1ed60d49ac8cee44299ef7e5944fd14c6" },
{ "path": "tests/snapshots/snapshots/correct/position/overlapping_close_ranges.png", "source_sha256": "4bf65eea3df7e4d609adf1b60f7c37335bdbdfaaeca08c10e50002bacdf49b16" },
{ "path": "tests/snapshots/snapshots/correct/position/transverse.png", "source_sha256": "8a49c69b088b56ae0df17f5e2f2bd2e063d11cbf50e21e34fbd75fd6c58e22aa" },
{ "path": "tests/snapshots/snapshots/correct/position/transverse_triangle.png", "source_sha256": "4a5a1afc404308f7a1cbeb7e8ed72ace41c892f6847669c5ff7f78c422088428" },
{ "path": "tests/snapshots/snapshots/output/merge_back.png", "source_sha256": "071563db38f07c93bb9f70cb45a3976d140bc188751d07a17c344ebfb1f57b49" },
{ "path": "tests/snapshots/snapshots/position/close_ranges.png", "source_sha256": "8f41f087d9779932a3be26be29e2912eb174b78cb859ecf99f2e9756cc810620" },
{ "path": "tests/snapshots/snapshots/position/do_not_cancel.png", "source_sha256": "2366066007ee5b26d075f5f3107432d0f6d0eb81089b75604df2880a31d725de" },
{ "path": "tests/snapshots/snapshots/position/more_overlapping_close_ranges.png", "source_sha256": "d77b06c175765dd4d29f28106c56a7aaa7feb582a0d88468d04d26ea24184e17" },
{ "path": "tests/snapshots/snapshots/position/near_horizontal_approximation.png", "source_sha256": "855311f5cdaff8cc02f6e44c4bf77b0b1d69d77d1a31f9623976680b9a9111e4" },
{ "path": "tests/snapshots/snapshots/position/overlapping_close_ranges.png", "source_sha256": "14dd185567f7732a4e518a0f3714ff9cd1831fc2e042eafc110b85e0ca3b4f1b" },
{ "path": "tests/snapshots/snapshots/position/transverse.png", "source_sha256": "0f564234c7dc5a25cdb05e1848445d2ca46b20b18732390f0960de421784a1bc" },
{ "path": "tests/snapshots/snapshots/position/transverse_triangle.png", "source_sha256": "a1e98a59561505d8497548f28ed31913b23908d7bde4bf06b533009e317fc924" },
{ "path": "tests/snapshots/snapshots/sweep/just_cross.png", "source_sha256": "f66ee5cbad2129bead4a35a63924f7c016b9a6c21f3c659118821294f27f8879" },
{ "path": "tests/snapshots/snapshots/sweep/just_touch.png", "source_sha256": "a33d963ceb32e7d3f1cffc013564303b96a1e02c68f51041687d7831ed0359b3" },
{ "path": "tests/snapshots/snapshots/sweep/square_diamond_cross.png", "source_sha256": "63e097c08279cbb0efad3813641e5a70924af16a69ac9893ca1727f256c6f762" },
{ "path": "tests/snapshots/snapshots/sweep/square_diamond_touch.png", "source_sha256": "8d0b7f9adbba5f7c35745466357b814dc11e46b0c0662bbdfec229bd4bc1e0b5" }
]
}