mozilla / webcompat-dashboard

Web Compatibility Knowledge Base Next Generation Dashboard
Mozilla Public License 2.0
2 stars 2 forks source link

Memoize PSL lookup function to speed it up #20

Closed moztcampbell closed 7 months ago

moztcampbell commented 7 months ago

When using PSL to convert userreport hostnames to canonical domain, we only care about limited set of functionality. This combined with multiple reports per hostname means that a simple .memoize wrapper speeds up the domain grouping.