qt5base-lts/util/publicSuffix
Edward Welbourne 755b0aa681 Turn a condition into a lambda to save needless evaluation
The public suffix list scanner's utf8encode()'s main loop always
worked out whether a character is a hex digit, even when it didn't
need to know. Package the computation in a lambda and only test it
when it is needed. Also assert non-empty input generates non-empty
output.

Change-Id: Iaf48aad382624e421cea9c9cdb8bba5fc47b1596
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
2022-01-18 16:23:56 +01:00
..
main.cpp Turn a condition into a lambda to save needless evaluation 2022-01-18 16:23:56 +01:00
publicSuffix.pro Mark the public suffix generator as a command-line program 2021-01-22 12:16:53 +01:00