Angelin01 / Angelin01/pod-director
Optimize patch operations
Aperta
good first issue
maintenance
- Lingua principale
- Rust
- Stelle
- 3
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
There are three simple optimizations:
- Replace the HashMap in the configuration for a BTreeMap for a slightly reduced memory footprint.
- For the patches, when can aggregate them into a single operation instead of multiple operations
- This is specially useful if the pod has no nodeSelector or tolerations at all, since we completely avoid a loop
- For the empty object or empty list, the behavior is similar to the one above
This could easily be benchmarked in a test or two, to validate the results
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.