On 5/27/06, Tom Lane <[EMAIL PROTECTED]> wrote:
I wrote:
> I'm off for a little visit with oprofile...
It seems the answer is that fwrite() does have pretty significant
per-call overhead, at least on Fedora Core 4.
That may be because of the locking ritual all stdio functions
like to do, even without _REENTRANT.
If you want to use fwrite as string operator, then maybe
should replace it with fwrite_unlocked?
--
marko
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings