[Checkins] [zopefoundation/zope.interface] 7e532d: Move the one-base optimization down a level, and e...
    Jason Madden 
    noreply at github.com
       
    Tue Mar 17 21:14:46 CET 2020
    
    
  
  Branch: refs/heads/issue8
  Home:   https://github.com/zopefoundation/zope.interface
  Commit: 7e532de0bc9475294d2dcfd7ebea50a80cb8c7f7
      https://github.com/zopefoundation/zope.interface/commit/7e532de0bc9475294d2dcfd7ebea50a80cb8c7f7
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2020-03-17 (Tue, 17 Mar 2020)
  Changed paths:
    M src/zope/interface/interface.py
    M src/zope/interface/ro.py
    M src/zope/interface/tests/test_ro.py
  Log Message:
  -----------
  Move the one-base optimization down a level, and enable using pre-calculated __sro__ for caching.
In my local 'load the world' test, this went from ~7800 full C3 merges to about ~1100.
Also take steps to avoid triggering false positive warnings about changed ROs when it's *just* Interface that moved.
    
    
More information about the checkins
mailing list