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
{{ message }}
Repository navigation
setup() still loads the UI and diff library at startup #580
#275 deferred the UI and the C diff library until the first :CodeDiff, but setup() still loads both. It re-applies the highlights with require("codediff.ui").setup_highlights(), and the codediff.ui facade requires the view and core modules, which load libvscode_diff through FFI. So any config that calls setup() at startup pays ~5 ms for it here, with 87 codediff modules loaded where 4 are needed.
Activity
perf(setup): stop setup() loading the UI and diff library (esmuellert…