cubicweb #2110237 lighten cw_relation_cache [open]

cw_relation_cache maps rtype to couples (rset, entities) to fullfill .related() and .rtype needs. We should probably provide an intermediate object which would be built from either version (rset or entities) and be able to provide the other form on demand (i.e. lazily).

Note : currently, cw_set_relation_cache systematically build both forms.

prioritynormal
typeenhancement
done in<not specified>
load0.500
load left0.500
closed by<not specified>