v.19.10Improvement

Using "public_suffix_list" for Functions Firstsignificantsubdomain, Cuttofirstsignificantsubdomain

Using "public_suffix_list" for functions firstSignificantSubdomain, cutToFirstSignificantSubdomain. It's using a perfect hash table generated by gperf with a list generated from the file: https://publicsuffix.org/list/public_suffix_list.dat. (for example, now we recognize the domain ac.uk as non-significant). #5030 (Guillaume Tassery)
Added usage of the "public_suffix_list" in the functions firstSignificantSubdomain and cutToFirstSignificantSubdomain to more accurately identify significant subdomains.

Why it matters

This feature improves domain name parsing by integrating a perfect hash table based on the public suffix list from https://publicsuffix.org, enabling the functions to correctly recognize public suffixes (e.g., treating "ac.uk" as a non-significant subdomain). This enhances the accuracy of domain analysis and manipulation.

How to use it

Simply use the functions firstSignificantSubdomain and cutToFirstSignificantSubdomain as before; they now internally utilize the updated public suffix list for more precise domain parsing without requiring additional configuration.