mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 09:07:25 +03:00
436808ff99
`RichString_appendnAscii()` avoids a `strlen(3)` call over ` RichString_appendAscii()`. Use the former where the length is available from a previous checked `snprintf(3)` call. Keep `RichString_appendAscii()` when passing a string literal and rely on compilers to optimize the `strlen(3)` call away.