mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-03 00:41:56 -06:00
numbers_in() scanned each of a rule's ranges separately with its own 2,000,000-cell limit, so a rule listing the same (or overlapping) large range many times multiplied the scan while painting a single cell. Colour scales also evaluated every stop's threshold, formulas included, before discarding scales that are not 2- or 3-colour. - A rule's statistics now share STATS_SCAN_LIMIT across all its ranges, and an exact repeat of a range is scanned once. - A colour scale with a stop count other than 2 or 3 paints nothing and evaluates none of its thresholds.