AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Improve config cacheID algorithm to not require Yaml

Abierto
#2,005 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Feature Request
Lenguaje dominante
C++
Estrellas
2.1k
Forks
503
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el método getCacheId de la clase Config en el prototipo nanoColor e inspecciona cómo serializa actualmente la configuración a Yaml. Determina un reemplazo estable que no requiera Yaml y defina cómo debe afectar un reordenamiento trivial al ID; se considera terminado cuando el código cliente pueda calcular una Config cacheID sin la dependencia eliminada.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
cpp
Área
tooling
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.