• Sebastian Kummer's avatar
    Merge pull request #1 in ZP/z-push from feature-diffstate-performance to develop · fdca8974
    Sebastian Kummer authored
    ZP-652 #comment better diffstate performance
    
    * commit '8cd0a71f':
      - improve performance, by not iterating for each entry through all entries, but initially create an associative array of old entries indexed by their key and then iterating through the new entries once identifying new, modfied or removed entries (this makes a hugh difference eg. for addressbooks with a couple of thousand entries more then a factor of 10) - it drops the requirement that ids need to be in ascending order, new diff code works also if $new contains smaller ids. That happens eg. for us when a users unsubscribs from a mail folder and subscribes again
    
    (cherry picked from commit 8f0ed00c)
    fdca8974
Name
Last commit
Last update
src Loading commit data...
tools Loading commit data...