This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Ada] Performance improvements when writing temporary text files
- From: Duncan Sands <baldrick at free dot fr>
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Vincent Celier <celier at adacore dot com>
- Date: Mon, 17 Aug 2009 11:08:01 +0200
- Subject: Re: [Ada] Performance improvements when writing temporary text files
- References: <20090810082559.GA30442@adacore.com>
Hi Arnaud,
Writing temporary text files such as config pragmas files or mapping
files is now done in one call to Write instead of many for efficiency
(in particular over e.g. nfs drives).
since the underlying C library also does buffering, is this really
helpful? And wouldn't it be better to simply inform the library as
to what the desired buffer size is?
Ciao,
Duncan.