ankurdave / color-identifiers-mode

Emacs minor mode to highlight each source code identifier uniquely based on its name
308 stars 23 forks source link

Do not load python.el unless in python-mode #88

Closed Hi-Angel closed 1 year ago

Hi-Angel commented 1 year ago

This improves loading time of color-identifiers-mode.el. Measurements in seconds and with a hot filesystem cache:

Before: 0.12, 0.09, 0.11
After:  0.04, 0.03, 0.04
Hi-Angel commented 1 year ago

I've used it for some time, don't seem to see any new warnings or regressions in python-mode or from any of byte-compile or native-comp. I think it's good to go.