Skip site navigation (1) Skip section navigation (2)

Re: Faster StrNCpy

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: josh(at)agliodbs(dot)com, pgsql-hackers(at)postgresql(dot)org, Neil Conway <neilc(at)samurai(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>
Subject: Re: Faster StrNCpy
Date: 2006-09-27 13:49:26
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Tom Lane wrote:
>> What I'd like to do immediately is put in strlcpy() and hit the two or
>> three places I think are performance-relevant.

> What are the other hotspots?

The ones I can think of offhand are set_ps_display and use of strncpy as
a HashCopyFunc.

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2006-09-27 13:51:37
Subject: Re: horo(r)logy test fail on solaris (again and solved)
Previous:From: Zdenek KotalaDate: 2006-09-27 13:40:09
Subject: Re: horo(r)logy test fail on solaris (again and solved)

pgsql-patches by date

Next:From: Strong, DavidDate: 2006-09-27 14:08:05
Subject: Re: Faster StrNCpy
Previous:From: Andrew DunstanDate: 2006-09-27 13:22:30
Subject: Re: Faster StrNCpy

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group