Rewrite cases we know will always through AttributeErrors
Yes they exist, for example "try getting this attribute and if it exists call it, otherwise do something else". Probably not a huge perf improvement since the exception-throwing will probably dominate. Use the same "only do this for immortal strings" trick to get around gc issues.
Showing
Please register or sign in to comment