This PR optimizes font rendering routines and eliminates excessive memory usage, which should improve performance, especially when resizing the window.
Fixes #130
Type of change
[X] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Run Aminal and try to continuously resize its window with the mouse. The amount of RAM used by the program should stabilize at some level. Note that, due to the nature of the garbage collector, the amount of RAM can grow while you resizing the window, but should go down after you stop resizing.
Description
This PR optimizes font rendering routines and eliminates excessive memory usage, which should improve performance, especially when resizing the window.
Fixes #130
Type of change
How Has This Been Tested?
Run Aminal and try to continuously resize its window with the mouse. The amount of RAM used by the program should stabilize at some level. Note that, due to the nature of the garbage collector, the amount of RAM can grow while you resizing the window, but should go down after you stop resizing.
Test Configuration:
Windows
,Debian