You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When typora-copilot is enabled, the Typora response seems be sluggish. For example, the time from a key is struck, to the character showing up in Typora is significant slower when enabling copilot.
The text was updated successfully, but these errors were encountered:
This is a long-term existent problem with the plugin. Typora-copilot currently reads the whole document and ask Copilot for completion, which should lead Typora slow down when your document is large.
I plan to solve the problem in later versions, but the rendering mechanism of Typora is very complicated, so finding a reliable way to partially read only the changed part in the document can be hard. I don’t have enough time to solve the problem recently, so it may take months for me to finally find a time to fix the problem.
After an overhaul refactor in v0.3.2 (4140bec), I believe this issue has been significantly alleviated. During the refactor, I discovered several cases where event listeners were not properly removed, leading to increasing memory leaks as completion requests grew. These memory leaks have been largely resolved.
Thank you for your patience, and I hope this update improves your experience! :)
When typora-copilot is enabled, the Typora response seems be sluggish. For example, the time from a key is struck, to the character showing up in Typora is significant slower when enabling copilot.
The text was updated successfully, but these errors were encountered: