vscode-emacs-mcx icon indicating copy to clipboard operation
vscode-emacs-mcx copied to clipboard

Improve performance

Open whitphx opened this issue 2 years ago • 1 comments

Measure first:

  • Is GC working expectedly? Are unused objects released expectedly? Are objects attached to released editor object released correctly?
  • Where is slow?

Possible fixes

  • Defer instantiating the command classes
    • For some commands which are not often used, we should instantiate them (new TheCommandClass()) when the command is called for the first time instead of inside the EmacsEmulator's constructor.

whitphx avatar Mar 11 '22 08:03 whitphx

Maybe related to #1308

whitphx avatar May 01 '22 13:05 whitphx