Closed xivk closed 4 years ago
When storing values on edges we need a way to retrieve them very fast. We probably need to distinguish between a few weight types:
This is done now, what is left is to cache the length of an edge:
This need for this was confirmed by performance testing:
For performance reasons we need to precalculate profile metrics. A profile is a function:
We need to store this inline to remove the need to load attributes sets for each edge and translate them to factors and speeds again and again. We should also consider storing aspects to enable highly flexible profiles based on a set of precalculated fixed edge properties or 'aspects'.
A solution could be:
The aspect key value pairs are stored where appropriate.