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

Benchmark VectorDomain #21

Open
dourouc05 opened this issue Jul 31, 2021 · 0 comments
Open

Benchmark VectorDomain #21

dourouc05 opened this issue Jul 31, 2021 · 0 comments
Milestone

Comments

@dourouc05
Copy link
Member

For ConstraintSolver.jl's VectorDomain, @Wikunia uses a matrix, while this package's VectorDomain uses a set of vectors. We should test the performance of both approaches before making a final decision on the best way to represent this set, but also brainstorm about the pros and cons of each approach.

Matrix

Pros:

  • easy to enforce that each element has the same size (Julia does it when the user builds a matrix)

Cons:

  • enforces some kind of order between the elements, while this is not really required

Set of vectors

Pros:

  • no order between the elements

Cons:

  • the constructor must enforce that each element has the same size
@dourouc05 dourouc05 added this to the v1 milestone Jul 31, 2021
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