Skip to content

Example using Shared Variables#259

Merged
ArquintL merged 1 commit intomasterfrom
shared-vs-exclusive-verification-time
May 30, 2022
Merged

Example using Shared Variables#259
ArquintL merged 1 commit intomasterfrom
shared-vs-exclusive-verification-time

Conversation

@ArquintL
Copy link
Member

Adds parallel_search_replace_shared.gobra, which is a modification of parallel_search_replace.gobra. It uses shared instead of exclusive variables in the worker function.

  • parallel_search_replace.gobra takes 60-66sec on my machine
  • parallel_search_replace_shared.gobra takes 110-121sec on my machine

@ArquintL ArquintL requested a review from Felalolf April 20, 2021 13:13
@jcp19
Copy link
Contributor

jcp19 commented May 26, 2022

@ArquintL I suggest that we either close this PR or merge it. Any preference?

@ArquintL
Copy link
Member Author

It's an additional example so I'm more in favor of keeping it

…_search_replace with additional shared variables
@ArquintL ArquintL force-pushed the shared-vs-exclusive-verification-time branch from 227ed96 to e3ec81b Compare May 30, 2022 08:54
@ArquintL ArquintL merged commit ce39d2e into master May 30, 2022
@ArquintL ArquintL deleted the shared-vs-exclusive-verification-time branch May 30, 2022 10:20
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