From busybox Thu Feb 18 21:21:08 2021 From: Ron Yorston Date: Thu, 18 Feb 2021 21:21:08 +0000 To: busybox Subject: Re: [PATCH] applets/usage_pod.c: Prefer fputs Message-Id: <602eda44.0WhBuxrRHc+jj3Nq%rmy () pobox ! com> X-MARC-Message: https://marc.info/?l=busybox&m=161368326620943 Gray Wolf wrote: >When printf has just single %s argument, it can be replaced with fputs, >which is faster. One could hope that compiler would optimize that, but >there is no reason not to use the fputs directly. I did consider using fputs but thought it looked out of place: all the other output statements use printf. Just a stylistic preference. Ron _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox