Tom Rini added the comment:
So yes, we have some code that was doing, roughly:
if any(fnmatchcase(key, pat) for pat in pattern):
refs.add(key)
on 200-300 elements, a lot. That said, many of them were not globs so we've
worked around this to only use fnmatchcase on globs and just key i
Tom Rini added the comment:
Did a change later make this user-configurable? I've got some code here that
now runs so slow as to be unusable because nothing is ever cached anymore.
Thanks!
--
nosy: +Tom.Rini
___
Python tracker