Optimizations. Primarily, this changes _p_accessed to avoid recursively...
Optimizations. Primarily, this changes _p_accessed to avoid recursively calling back to __getattribute__. When running the ZODB test suite, this changes the number of times that __getattribute__ is called from over 44 MILLION to just 1.3 million (and changes the cumulative time from 38 seconds to 11 seconds). Secondarily, this potentially also makes a few things safer for Broken objects.
Showing
Please register or sign in to comment