Using the multimodal graph is currently slower than using a simple road graph.
This may be due to its "on-demand" nature: every vertex comparison, outedge access, etc. must compute lots of things.
There may be ways to improve the situation by storing things in memory (an array of vertex with an incremental ID for instance would speed up vertex comparisons)
Using the multimodal graph is currently slower than using a simple road graph. This may be due to its "on-demand" nature: every vertex comparison, outedge access, etc. must compute lots of things. There may be ways to improve the situation by storing things in memory (an array of vertex with an incremental ID for instance would speed up vertex comparisons)