This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Libiberty's snprintf for v3?
- From: DJ Delorie <dj at redhat dot com>
- To: ghazi at caip dot rutgers dot edu
- Cc: pcarlini at unitus dot it, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 21 Apr 2003 20:52:24 -0400
- Subject: Re: Libiberty's snprintf for v3?
- References: <3EA44576.90708@unitus.it> <200304220041.UAA22116@caip.rutgers.edu>
> But, on the upside we won't need vasprintf.c, and the resulting code
> will probably be faster than the current implementation if we cache
> the fd.
File I/O is very expensive on Microsoft platforms (DJGPP, Cygwin,
MinGW) compared to what you're used to under Unix platforms, even to
/dev/null (both djgpp and cygwin emulate /dev/null, I don't know about
mingw).