This improves caching introduced in https://github.com/geany/geany/pull/2747 and discussed in https://github.com/geany/geany/issues/2883 This change reduce CPU usage on window activate/deactivate by caching up to 128 elements from all SCI_TEXTHEIGHT calls. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/2934 -- Commit Summary -- * <a href="https://github.com/geany/geany/pull/2934/commits/7d8c3fefbdcd55f819969ec316687a349393096e">Improve caching for SCI_TEXTHEIGHT</a> -- File Changes -- M src/sciwrappers.c (95) M src/sciwrappers.h (1) M src/symbols.c (2) -- Patch Links -- https://github.com/geany/geany/pull/2934.patch https://github.com/geany/geany/pull/2934.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/2934
