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

Batch reuse and idempotence #18

Open
pgera opened this issue Jul 26, 2019 · 0 comments
Open

Batch reuse and idempotence #18

pgera opened this issue Jul 26, 2019 · 0 comments

Comments

@pgera
Copy link

pgera commented Jul 26, 2019

The following do not work:

  1. Idempotence: G.delete(batch); G.delete(batch);
  2. Reuse: G1.insert(batch); G2.insert(batch);

If you want to delete some edges from a graph and insert them into a new graph, you should be able to reuse the same batch as G_new.insert(batch); G_orig.delete(batch);

The current workaround for this issue is to create a different batch from the same COO pointers. That works.

kaatish pushed a commit to kaatish/cuhornet that referenced this issue Feb 28, 2020
pull latest changes from branch-0.10 into fork/branch-0.10
kaatish pushed a commit to kaatish/cuhornet that referenced this issue Feb 28, 2020
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