-
Notifications
You must be signed in to change notification settings - Fork 79
[WIP / Please Comment] Remove Asynchrony / Fix Races? #343 #368
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems very flaky unfortunately. As said in the ticket, whether a problem occurs or not is very dependent on hardware (and the rest of the system); I encounter the bug fairly frequently on my workstation after hours of coding, but not at the start of a session or on my home computer (M3 MacBook).
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same for me with my high-end workstation, is there any memory leak or doing some operation whose complesity grows with time? For me it only happens when the workspace is large and keep open for hours.
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I expect there's a memory leak somewhere, but haven't found it. At some point I expected the problem was the history buffer growing, but even after limiting it in a local build of Dance nothing changed. It's also been much, much worse for the past couple of months. Now both my workstation and MacBook start to struggle hard after <1 hour of editing. It seems different documents degrade at different rates, though. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,227 @@ | ||
| # 1 | ||
|
|
||
| > behavior <- character | ||
|
|
||
| ``` | ||
|
|
||
| ^ 0 | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| b | ||
| ``` | ||
|
|
||
| ## 1 down | ||
| [up](#1) | ||
|
|
||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
| - .select.down.jump | ||
|
|
||
| ``` | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| b | ||
| ^ 0 | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this! Even if it does work this is not desirable; we want to
awaitfhere, otherwise we won't catch potential errors.