From: Andy Allan Date: Wed, 16 Jun 2021 08:53:57 +0000 (+0100) Subject: Skip intermediate lengths when testing tag validity X-Git-Tag: live~2545^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/408c883d24af1d32b60a18bc0a5b1e5fdae30d53?hp=408c883d24af1d32b60a18bc0a5b1e5fdae30d53 Skip intermediate lengths when testing tag validity It's really the upper and lower boundaries that we want to check, and it's reasonable to assume all the intermediate values will work fine if the boundary values are tested. This also saves about 75% of the time taken and almost 85% of the assertions when running all the model tests. ---