AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO
Improve config cacheID algorithm to not require Yaml
- Langage dominant
- C++
- Étoiles
- 2.1k
- Forks
- 503
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In the nanoColor prototype, the getCacheId method on the Config class is not working properly. This is because it is generating the ID by serializing the config to Yaml and then calculating a hash of that. Since nanoColor removes the Yaml library, this no longer works. This task is to come up with an alternate mechanism for generating a Config cacheID.
The Yaml-based mechanism is arguably not ideal anyway since reordering color spaces and other trivial changes would change the ID. If people have thoughts on how they would like the Config cacheID to be calculated, please add a comment below.
Note that the Config cacheID is not used internally to the library itself, so this is something that strictly affects client code.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par la méthode getCacheId de la classe Config dans le prototype nanoColor et examinez comment elle sérialise actuellement la configuration en Yaml. Déterminez un remplacement stable qui ne nécessite pas Yaml et définissez l'effet qu'un simple réordonnancement doit avoir sur l'ID ; le travail est terminé lorsque le code client peut calculer une Config cacheID sans la dépendance supprimée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100