Skip to content

Imperative transaction ordering#47

Draft
davidrobinson05 wants to merge 4 commits into
ModelingValueGroup:developfrom
davidrobinson05:imperative-ordering
Draft

Imperative transaction ordering#47
davidrobinson05 wants to merge 4 commits into
ModelingValueGroup:developfrom
davidrobinson05:imperative-ordering

Conversation

@davidrobinson05

Copy link
Copy Markdown

@WimBast

WimBast commented Jul 22, 2024

Copy link
Copy Markdown
Contributor

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

WimBast commented Jul 22, 2024

Copy link
Copy Markdown
Contributor

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

@WimBast

WimBast commented Jul 22, 2024

Copy link
Copy Markdown
Contributor

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.

@davidrobinson05 davidrobinson05 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