-
Notifications
You must be signed in to change notification settings - Fork 30
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
Use LinkedHashSet to store sets #159
Comments
Note that we don't need to replace every occurrence of Here is the list of every
and here is what I think we need to replace. Sets themselves:
Output aggregators:
Graphs (maybe?) and graph traversals (so the traversals occur in a deterministic order):
|
I am not entirely sure using a LinkedHashSet will fix the issue for We should instead utilize a sort call on the set before outputting the values. |
A Java LinkedHashSet is preferred for storing
set
in Boa, as the output order (if printed/shown in the output) will be predictable leading to identical job outputs.Currently we use HashSet, where the iterated order of the items is not deterministic and thus some jobs will have output that is bytewise different (but semantically equivalent) on subsequent runs.
The text was updated successfully, but these errors were encountered: