• Kubernetes Submit Queue's avatar
    Merge pull request #63603 from resouer/clean-cache · c4994e17
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 63603, 63557, 62015). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Clean up equiv cache with a simple implementation instead of LRU
    
    **What this PR does / why we need it**:
    
    The original version of equiv cache use pod hash as cache key, also, the predicate order is not fixed. So I used a LRU cache to improve hit rate.
    
    While now we've already refactored it to use predicates as keys, and its order was also fixed in scheduler, we can use a simplest cache instead now.
    
    **Special notes for your reviewer**:
    
    The question is brought up by @misterikkit
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    c4994e17
Name
Last commit
Last update
..
algorithm Loading commit data...
algorithmprovider Loading commit data...
api Loading commit data...
core Loading commit data...
factory Loading commit data...
metrics Loading commit data...
schedulercache Loading commit data...
testing Loading commit data...
util Loading commit data...
volumebinder Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
scheduler.go Loading commit data...
scheduler_test.go Loading commit data...
testutil.go Loading commit data...