Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Port calculatePosition faster #33

Closed
bergie opened this issue Oct 25, 2013 · 0 comments
Closed

Make Port calculatePosition faster #33

bergie opened this issue Oct 25, 2013 · 0 comments

Comments

@bergie
Copy link
Member

bergie commented Oct 25, 2013

Currently position calculations seem kind of heavy. On a graph with 45 nodes that contain 105 ports, the calculation can take around 500-700ms.

A big part of this might be the fact that each port queries its siblings to find its relative position. It might be better to put the-graph-inports and the-graph-outports into the driver's seat to make this more coordinated.

See gss/gss#6

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

No branches or pull requests

1 participant