performace speed up suggestions.

From: al dev <aldevpgsql(at)yahoo(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: performace speed up suggestions.
Date: 1998-02-14 00:13:10
Message-ID: 19980214001310.17118.rocketmail@send1b.yahoomail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

tip1: I find many string functions calls like strcpy, strncpy
, strcat etc.. in the code.

Is not faster if you use memcpy, memset, sizeof() functions calls?
Especially watch those areas inside the for loop and while loop.

tip 2: Inside for loops, where functions are called
it will be faster to declare and assign in one step
like
int ii=22;
instead of
int ii;
ii = 22;

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

Browse pgsql-hackers by date

  From Date Subject
Next Message Ryan Kirkpatrick 1998-02-14 01:27:25 Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha
Previous Message Phil Thompson 1998-02-14 00:05:24 Re: [HACKERS] Re: [QUESTIONS] full JDBC driver ?