-
Notifications
You must be signed in to change notification settings - Fork 34
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
Edit simple substitution too slow #300
Comments
Looks like it's spending most of the time trying to apply the edit logs.
I'm using a file generated with:
|
Not expected. I'll look into it. |
This still happens. I have been testing it and it seems like hiding the window makes it faster, so I suspect some problem |
This is in Linux (in case it matters). |
I haven't fixed this yet. Sorry. |
I'm guessing this is because our buffer implementation is naive. We have to fix that before edwood is usable for any larger documents. |
In #414, I added a benchmark to compare the performance of
A few issues are apparent from profiling the benchmark:
The 2-times performance difference seen in the benchmark is not sufficient to explain the performance difference while operating interactively. As noted by @fhs, this is because I (foolishly) removed what seemed like an unnecessary optimization when converting Acme's So: three primary action items ongoing:
|
Reminder for @rjkroege: |
wc xxx.tex
1213 8071 52355 xxx.tex
I
Edit , s/textit/emph/g
and it takes 20-30 seconds, which in p9p acme is instantaneous.
I am using edwood integrated in p9p as it comes just cloning
the git.
The text was updated successfully, but these errors were encountered: