Xinqi Bao's Git
projects
/
dwm.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(from:
7162335
)
Improve speed of drw_text when provided with large strings
author
Miles Alan <
[email protected]
>
Mon, 9 Aug 2021 16:24:14 +0000
(18:24 +0200)
committer
Hiltjo Posthuma <
[email protected]
>
Mon, 9 Aug 2021 16:25:19 +0000
(18:25 +0200)
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.
No differences found