aboutsummaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-01 20:56:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-01 20:56:53 +0000
commitf7669c1e2419b6e0152dc928f29683dde5a36ce2 (patch)
treebbb8f3f8452e5898d56b2526a16471394870cd10 /subprojects
parentbox-drawing: reduce number of function arguments (diff)
box-drawing: quadrants: convert quad_*() macros to functions
This reduces the size of the foot binary by ~4K; all the quad macros called ceil() and floor() twice per macro, which caused many float -> int -> float conversions in the expanded code. By using functions instead, there’s no expansion - the conversion only happens in one (well, four) places.
Diffstat (limited to 'subprojects')
0 files changed, 0 insertions, 0 deletions