Angelin01 / Angelin01/pod-director
Optimize patch operations
Ouverte
good first issue
maintenance
- Langage dominant
- Rust
- Étoiles
- 3
- Forks
- 0
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.