minor but worthwhile optimization in printf: avoid expensive strspn
the strspn call was made for every format specifier and end-of-string, even though the expected return value was 1-2 for normal usage. replace with simple loop.
Showing
想要评论请 注册 或 登录