Use if instead of try-except in tag methods
The except path is relatively often chosen, making these functions (still) quite slow. (Exceptions are slow in Python and they are what they are called: exceptions, not common cases).
Showing
Please register or sign in to comment