You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for the package, which I'm using a lot in different projects. I was profiling my code with pprofile and noticed a potential performance issue in the function get_tld_names().
It's a recursive fonction but it does not seem to be the problem here, the trie data structure in trie.py appears to be slow, because adding elements to the trie is slow or maybe because the fonction is called (too) often?
Hi, thanks for the package, which I'm using a lot in different projects. I was profiling my code with
pprofile
and noticed a potential performance issue in the functionget_tld_names()
.It's a recursive fonction but it does not seem to be the problem here, the trie data structure in
trie.py
appears to be slow, because adding elements to the trie is slow or maybe because the fonction is called (too) often?Here are the lines that caught my attention:
tld/src/tld/base.py
Line 79 in 53dd803
tld/src/tld/utils.py
Line 213 in 817a813
tld/src/tld/utils.py
Line 227 in 817a813
Could you please have a look at this?
The text was updated successfully, but these errors were encountered: