Re: Faster StrNCpy

From: "Zeugswetter Andreas DCP SD" <ZeugswetterA(at)spardat(dot)at>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru>
Cc: <mark(at)mark(dot)mielke(dot)cc>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Faster StrNCpy
Date: 2006-10-03 08:24:10
Message-ID: E1539E0ED7043848906A8FF995BDA579016265A7@m0143.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


> I'm still interested to experiment with MemSet-then-strlcpy
> for namestrcpy, but given the LENCPY results this may be a loser too.

Um, why not strlcpy then MemSet the rest ?

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joachim Wieland 2006-10-03 08:38:04 Re: src/tools/msvc usage instructions
Previous Message Zeugswetter Andreas DCP SD 2006-10-03 08:20:11 Re: [HACKERS] Bad bug in fopen() wrapper code

Browse pgsql-patches by date

  From Date Subject
Next Message mark 2006-10-03 09:56:11 Re: Faster StrNCpy
Previous Message Zeugswetter Andreas DCP SD 2006-10-03 08:20:11 Re: [HACKERS] Bad bug in fopen() wrapper code