• Vincent Pelletier's avatar
    getSecurityUidDictAndRoleColumnDict micro-optimisation · c70f1f3d
    Vincent Pelletier authored
    try..except is significantly slower than getattr with default value when
    an exception is raised.
    defaultdict is faster than calling setdefault.
    The two other try..except blocks need more careful analysis of typical
    hit-rates to tell if they are optimal.
    c70f1f3d
CatalogTool.py 39.3 KB