WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #14179, comment 34


Ignore:
Timestamp:
07/20/2017 11:47:46 PM (3 years ago)
Author:
dingdang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14179, comment 34

    initial v1  
    11By the way out of curiosity I performed 10 million checks "if exists" in a list of 4500 keys in a hash table and 45000 keys (10x) and the cpu time was almost identical. MD5 generation (just for cases where the client didn't provided it) is also fast enough, so I guess all of this will not impact the API's servers cpu load at all.
     2
     3P.S. I also imagined that the actual number of hashes will be close to the number of themes, as for the different versions they will be the same if there is no change in the author fields which is really rare.