Skip to content

Conversation

DRobinson4105
Copy link

@WimBast
Copy link
Contributor

WimBast commented Jul 22, 2024

Can we move the cycle check out off the commit? It is a expensive method (including 2 java,util.HashSet inits) to run each time when a commit happens.

@WimBast
Copy link
Contributor

WimBast commented Jul 22, 2024

Why is 'imperativeTransactions = imperativeTransactions.putEdge(SOURCE, TARGET, Void.class);' in commit()?

@WimBast
Copy link
Contributor

WimBast commented Jul 22, 2024

I think I rather have one atomic Reference per Imperative transaction. You can then set it status for a certain commit run (number). You can avoid to initialize 3 atomic references per commit and keep track of the inCync in a relative manner. Hope this makes sence.

@DRobinson4105 DRobinson4105 marked this pull request as draft July 31, 2024 14:03
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.

2 participants