xiaoxiang781216 commented on PR #8641: URL: https://github.com/apache/nuttx/pull/8641#issuecomment-1445342059
> > By default, FILE I/O use the line buffer, which is same if we add a temp buffer in vdprintf: > > https://github.com/apache/nuttx/blob/master/fs/vfs/fs_fdopen.c#L211-L216 > > So the performance should be same as before. > > It's different, the line buffer shared across fprintf, but temp buffer is independent from each vdprintf call. Yes, it's different If the caller splits one line output into multiple vdprintf, but it's easy to merge merge multiple vdprintf into one. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org