Skip to content

Avoid copying EdgeBasedNode into PhantomNode #2357

Open

Description

@TheMarex

Once #1987 has landed we can actually reference the EdgeBasedNodes directly.

This would mean any access to data stored there could cause a page fault. However we access this data rarely and the chance of this getting paged out again after being accessed in the StaticRTree is low.

This would enable:

  • Small PhantomNode (basically only offsets + snapped coordinate + pointer to EdgeBasedNode)
  • Decoupling Hint from PhantomNode. If we expose the leaf index + edge index from the StaticRTree that means we only encode these two values and can reconstruct the PhantomNode from that

We need to benchmark this to make sure my hunch about page faults is not wrong (and we don't actually kill performance with this).

Activity

  1. danpat commented on Aug 26, 2016

    @danpat
    Member

    #1987 has landed, someone can pick this up if they want.

  2. self-assigned this
    on Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions