mirror of
https://github.com/felixangell/phi.git
synced 2024-10-26 17:18:31 +03:00
fb72830c6b
i thought my little lazy regex compiling caching thing worked but apparently not and the editor was still recompiling the regular expressions every frame... they are now compiled when the editor is loaded instead. this is ideal since the editor will crash on a bad config rather than encountering a highlight and crashing then. and obviously its a lot faster too! its hard to gauge the speed increase since im running this editor in a VM, but the fps went from 30 to 60 frames per second after doing this so that seems good to me! |
||
---|---|---|
.. | ||
action.go | ||
buffer.go | ||
close_buffer.go | ||
component.go | ||
cursor.go | ||
delete_line.go | ||
input.go | ||
palette.go | ||
panel.go | ||
shortcuts.go | ||
view.go |