liamg / darktile

:waning_crescent_moon: Darktile is a GPU rendered terminal emulator designed for tiling window managers.
MIT License
3.04k stars 112 forks source link

Improve font rendering #271

Closed vadymeng0 closed 5 years ago

vadymeng0 commented 5 years ago

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: