Raphtory icon indicating copy to clipboard operation
Raphtory copied to clipboard

Optimise `count_temporal_edges` so it does not have to look at all edges in the graph

Open ljeub-pometry opened this issue 2 years ago • 2 comments

Currently, one needs to use

graph.edges().explode().count()

to get the number of exploded edges (i.e., edge events) in the graph. This is both cumbersome and unnecessarily slow. We need to add a low-level method to the graph to get this count directly.

ljeub-pometry avatar Aug 08 '23 07:08 ljeub-pometry

Still needs to be optimised, but has a top level function as per #1149

miratepuffin avatar Sep 06 '23 13:09 miratepuffin