[Checkins] [zopefoundation/zope.interface] 335e9f: Move the one-base optimization down a level, and e...
    Jason Madden 
    noreply at github.com
       
    Tue Mar 17 14:28:19 CET 2020
    
    
  
  Branch: refs/heads/issue8
  Home:   https://github.com/zopefoundation/zope.interface
  Commit: 335e9fb7f4e4717f75e1b2f8514570c5c3a30e16
      https://github.com/zopefoundation/zope.interface/commit/335e9fb7f4e4717f75e1b2f8514570c5c3a30e16
  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