Re: svn commit: r268984 - head/lib/libc/stdio

2014-07-22 Thread Andrey Chernov
On 22.07.2014 21:08, Andrey Chernov wrote: > On 22.07.2014 20:44, Andrey Chernov wrote: >> Producing physical writes on ftell cause great performance degradation. >> You should check for __SAPP flag before calling sflush to do this only >> for append-mode files. > > BTW, I believe that sflush() sh

Re: svn commit: r268984 - head/lib/libc/stdio

2014-07-22 Thread Andrey Chernov
On 22.07.2014 20:44, Andrey Chernov wrote: > Producing physical writes on ftell cause great performance degradation. > You should check for __SAPP flag before calling sflush to do this only > for append-mode files. BTW, I believe that sflush() should be completely eliminated even for _SAPP case. S

Re: svn commit: r268984 - head/lib/libc/stdio

2014-07-22 Thread Andrey Chernov
Producing physical writes on ftell cause great performance degradation. You should check for __SAPP flag before calling sflush to do this only for append-mode files. On 22.07.2014 20:19, Pedro F. Giffuni wrote: > Author: pfg > Date: Tue Jul 22 16:19:01 2014 > New Revision: 268984 > URL: http://svn