Skip to content

Conversation

@tim3z
Copy link
Member

@tim3z tim3z commented Nov 14, 2017

Stop taking ownership of graph in the algorithms for querying shortest paths.
Saves memory in test main and hopefully allows a nicer architecture later on.

ToDo:

  • Should probably do some benchmarks that the smart pointers are optimized away properly and don't lead to some unwanted dynamic dispatches...

@tim3z tim3z requested a review from stefanholder November 14, 2017 12:16
@tim3z
Copy link
Member Author

tim3z commented Nov 14, 2017

Benchmarking suggests, there is definitely some overhead, though that might be just the extra indirection because of the data now beeing on the heap...

@tim3z tim3z mentioned this pull request Jan 17, 2018
@tim3z
Copy link
Member Author

tim3z commented Jan 17, 2018

replaced by #5

@tim3z tim3z closed this Jan 17, 2018
@tim3z tim3z deleted the less_moving_more_references branch July 23, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants