Skip to content

Node Ordering for Spacial and Temporal Locality (Node Based Graph / Node Info List) #3311

@daniel-j-h

Description

@daniel-j-h

At the moment our nodes are re-numbered sequentially from 0 to number of used nodes. There is no locality in node order at all.

The extractor and especially our guidance code makes use of an immense amount of 1/ coordinate lookups through the node info list (keyed by node id) and 2/ graph traversal via the Dynamic Node Based Graph (nodes sorted by source).

At the moment this is random access as random as it can get (read: bad).

We should establish locality in node ordering by re-using our Hilbert space-filling curve. The reason we're not doing a BFS-based ordering is mainly because we'd need to construct a graph first. A space-filling curve based ordering is good enough for a solid approximation.


Here are some notes:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions