Cache converted config objects #4193
Labels
component: config
Issues related to configuration.
component: performance
Issues with performance/benchmarking.
priority: 2 - low
Issues which are currently not very important.
Projects
With some config types (like
UrlPattern
), converting them is somewhat expensive. The cache in #4185 helps in places where this is really bad, but maybe we should do this for the config in general.Some more random thoughts from May 2020:
to_py
when an object was changed (or we suspect it was, see Re-think mutable object handling for config #4344), which then also obsoletes Separate config validation from conversion #4192.to_py
value as the "internal" one, but then we would need to have some way to convert from that to a YAML object again (i.e. the exact opposite ofto_py
). Not sure if that's possible (or how complex it is).The text was updated successfully, but these errors were encountered: