From: Miles Alan Date: Sun, 8 Aug 2021 01:34:35 +0000 (-0400) Subject: Improve speed of drw_text when provided with large strings X-Git-Url: https://git.xinqibao.xyz/dmenu.git/commitdiff_plain/c585e8e498ec6f9c423ab8ea07cf853ee5b05fbe?ds=inline;hp=c585e8e498ec6f9c423ab8ea07cf853ee5b05fbe Improve speed of drw_text when provided with large strings Calculates len & ew in drw_font_getexts loop by incrementing instead of decrementing; as such avoids proportional increase in time spent in loop based on provided strings size. ---