tomblind / local-lua-debugger-vscode

Local Lua Debugger for VSCode
MIT License
107 stars 26 forks source link

Hook performance #20

Closed B-head closed 3 years ago

B-head commented 4 years ago

Improve run-time performance.

Switch to a lightweight debughook at runtime. At the beginning of the hook, check the breakpoint and current line to reduce the if statement being executed.

tomblind commented 4 years ago

This is a big change and it will need careful testing. It may be awhile before I have the time to do that, but I'll get to it when I can.

B-head commented 4 years ago

@tomblind Thanks for the review. I have committed to all of your suggestions.