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

Undeadlock the backoff #28

Merged
merged 4 commits into from
Dec 11, 2019
Merged

Undeadlock the backoff #28

merged 4 commits into from
Dec 11, 2019

Conversation

mratsim
Copy link
Owner

@mratsim mratsim commented Dec 5, 2019

see #27.

First tentative was to create a transaction system with a commit/rollback mechanism
but it doesn't seem to work.

Plus the PR is really ugly due to enum not being atomics nim-lang/Nim#12812

For now backoff will be deactivated and revisited later.

@mratsim mratsim force-pushed the undeadlock-the-backoff branch from 818807c to f5d8533 Compare December 11, 2019 19:08
@mratsim
Copy link
Owner Author

mratsim commented Dec 11, 2019

Bench:

  • Higher overhead on fibonacci, 190ms for lazy instead of 175ms, 415ms on eager futures instead of below 400
  • For yet unexplained reason it's faster for nqueens
    DeepinScreenshot_select-area_20191211214144

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.

1 participant