Re: Faster StrNCpy
От | mark@mark.mielke.cc |
---|---|
Тема | Re: Faster StrNCpy |
Дата | |
Msg-id | 20061003095611.GA11787@mark.mielke.cc обсуждение исходный текст |
Ответ на | Re: Faster StrNCpy ("Zeugswetter Andreas DCP SD" <ZeugswetterA@spardat.at>) |
Ответы |
Re: Faster StrNCpy
|
Список | pgsql-hackers |
On Tue, Oct 03, 2006 at 10:24:10AM +0200, Zeugswetter Andreas DCP SD wrote: > > 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 ? That's what strncpy() is supposed to be doing. Cheers, mark -- mark@mielke.cc / markm@ncf.ca / markm@nortel.com __________________________ . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ | | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada One ring to rule them all, one ring to find them, one ring to bring them all and in the darkness bindthem... http://mark.mielke.cc/
В списке pgsql-hackers по дате отправления: